datetime-matcher 0.2.0__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/LICENSE +0 -0
- {datetime-matcher-0.2.0/src/datetime_matcher.egg-info → datetime_matcher-0.3.0}/PKG-INFO +8 -53
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/README.md +0 -42
- datetime_matcher-0.3.0/pyproject.toml +89 -0
- datetime_matcher-0.3.0/setup.cfg +4 -0
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/src/datetime_matcher/__init__.py +1 -0
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/src/datetime_matcher/datetime_extractor.py +0 -0
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/src/datetime_matcher/datetime_matcher.py +0 -0
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/src/datetime_matcher/dfregex_lexer.py +0 -0
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/src/datetime_matcher/model_types.py +0 -0
- datetime_matcher-0.3.0/src/datetime_matcher/py.typed +0 -0
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/src/datetime_matcher/regex_generator.py +0 -0
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0/src/datetime_matcher.egg-info}/PKG-INFO +8 -53
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/src/datetime_matcher.egg-info/SOURCES.txt +1 -1
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/src/datetime_matcher.egg-info/dependency_links.txt +0 -0
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/src/datetime_matcher.egg-info/top_level.txt +0 -0
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/test/test_datetime_extractor.py +0 -0
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/test/test_datetime_matcher__match.py +0 -0
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/test/test_datetime_matcher__search.py +0 -0
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/test/test_datetime_matcher__sub.py +0 -0
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/test/test_dfregex_lexer.py +0 -0
- {datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/test/test_regex_generator.py +0 -0
- datetime-matcher-0.2.0/pyproject.toml +0 -6
- datetime-matcher-0.2.0/setup.cfg +0 -92
|
File without changes
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: datetime-matcher
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: A library which extends regex with support for datetime format codes.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
Author-email: Stephen Zhao <mail@zhaostephen.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/stephen-zhao/datetime-matcher
|
|
8
|
+
Project-URL: Source, https://github.com/stephen-zhao/datetime-matcher
|
|
9
9
|
Keywords: datetime,regex,datetime parsing,datetime format,substitution,regular expression,format,strftime,strptime,parse,reformat,date,time,format code,search,find,replace,match
|
|
10
|
-
Platform: UNKNOWN
|
|
11
10
|
Classifier: Development Status :: 3 - Alpha
|
|
12
11
|
Classifier: Intended Audience :: Developers
|
|
13
12
|
Classifier: Intended Audience :: System Administrators
|
|
14
13
|
Classifier: Programming Language :: Python :: 3
|
|
15
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
16
14
|
Classifier: Natural Language :: English
|
|
17
15
|
Classifier: Operating System :: OS Independent
|
|
18
16
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
17
|
Classifier: Topic :: Text Processing
|
|
20
18
|
Classifier: Topic :: Utilities
|
|
21
19
|
Classifier: Typing :: Typed
|
|
22
|
-
Requires-Python: >=3.
|
|
20
|
+
Requires-Python: >=3.9
|
|
23
21
|
Description-Content-Type: text/markdown
|
|
24
22
|
License-File: LICENSE
|
|
23
|
+
Dynamic: license-file
|
|
25
24
|
|
|
26
25
|
# datetime-matcher 📆←💬
|
|
27
26
|
|
|
@@ -156,47 +155,3 @@ Minus the exceptions below, and barring platform-specific support, [strftime.org
|
|
|
156
155
|
The percentage literal in conventional regex (`%`) must be escaped in dfregex (`\%`)
|
|
157
156
|
because an unescaped one marks the beginning of a datetime format code and otherwise would be
|
|
158
157
|
ambiguous.
|
|
159
|
-
|
|
160
|
-
## Development
|
|
161
|
-
|
|
162
|
-
This project has an extensive `Makefile` for development automation. To get started quick: after cloning this project, run `make all`. This should create a virtual environment, install all the required dev-time packages, lint, build, and test the project.
|
|
163
|
-
|
|
164
|
-
### Virtual Environment Setup
|
|
165
|
-
|
|
166
|
-
You only have to run these once. And `make all` covers these steps automatically, but this is here for your reference.
|
|
167
|
-
|
|
168
|
-
Use `make reinit-venv` to create a new virtual environment from scratch. This will live inside the project's root. All subsequent make commands will automatically invoke python from inside this virtual environment. You may rerun this to completely wipe the virtual environment and start from scratch.
|
|
169
|
-
|
|
170
|
-
Use `make init-piptools` to bootstrap the virtual environment.
|
|
171
|
-
|
|
172
|
-
### Dependency Management
|
|
173
|
-
|
|
174
|
-
To add more runtime dependencies on pypi packages, add them to `requirements.in`. Then use `make install-requirements` to install them.
|
|
175
|
-
|
|
176
|
-
To add more devtime dependencies (these will not be deemed dependencies in the distributable/built version of the package), add them to any `*.in` file within the `requirements-devtime.d/` directory. Then use `make install-requirements` to install them.
|
|
177
|
-
|
|
178
|
-
To upgrade the pinned dependencies, run `make upgrade-requirements`. This will re-resolve the requirements to the latest versions, pin the newly resolved versions, and install them.
|
|
179
|
-
|
|
180
|
-
### Building
|
|
181
|
-
|
|
182
|
-
`make all` is the one-stop shop for building the project. It will fix auto-fixable linting errors, raise any additional linting errors, build, run unit tests, and produce a coverage report.
|
|
183
|
-
|
|
184
|
-
To only check lints or fix lints, use `make lint` or `make fix-lint`.
|
|
185
|
-
|
|
186
|
-
To only build, use `make build`.
|
|
187
|
-
|
|
188
|
-
To only test, use `make test`.
|
|
189
|
-
|
|
190
|
-
### Publishing
|
|
191
|
-
|
|
192
|
-
Use `make publish-test` to publish to the test pypi repository.
|
|
193
|
-
|
|
194
|
-
Use `make publish` to publish to the prod repository.
|
|
195
|
-
|
|
196
|
-
### Cleaning
|
|
197
|
-
|
|
198
|
-
Use `make clean` to remove build artifacts.
|
|
199
|
-
|
|
200
|
-
Use `make reinit-venv` if you need to completely reset your virtual environment.
|
|
201
|
-
|
|
202
|
-
|
|
@@ -131,45 +131,3 @@ Minus the exceptions below, and barring platform-specific support, [strftime.org
|
|
|
131
131
|
The percentage literal in conventional regex (`%`) must be escaped in dfregex (`\%`)
|
|
132
132
|
because an unescaped one marks the beginning of a datetime format code and otherwise would be
|
|
133
133
|
ambiguous.
|
|
134
|
-
|
|
135
|
-
## Development
|
|
136
|
-
|
|
137
|
-
This project has an extensive `Makefile` for development automation. To get started quick: after cloning this project, run `make all`. This should create a virtual environment, install all the required dev-time packages, lint, build, and test the project.
|
|
138
|
-
|
|
139
|
-
### Virtual Environment Setup
|
|
140
|
-
|
|
141
|
-
You only have to run these once. And `make all` covers these steps automatically, but this is here for your reference.
|
|
142
|
-
|
|
143
|
-
Use `make reinit-venv` to create a new virtual environment from scratch. This will live inside the project's root. All subsequent make commands will automatically invoke python from inside this virtual environment. You may rerun this to completely wipe the virtual environment and start from scratch.
|
|
144
|
-
|
|
145
|
-
Use `make init-piptools` to bootstrap the virtual environment.
|
|
146
|
-
|
|
147
|
-
### Dependency Management
|
|
148
|
-
|
|
149
|
-
To add more runtime dependencies on pypi packages, add them to `requirements.in`. Then use `make install-requirements` to install them.
|
|
150
|
-
|
|
151
|
-
To add more devtime dependencies (these will not be deemed dependencies in the distributable/built version of the package), add them to any `*.in` file within the `requirements-devtime.d/` directory. Then use `make install-requirements` to install them.
|
|
152
|
-
|
|
153
|
-
To upgrade the pinned dependencies, run `make upgrade-requirements`. This will re-resolve the requirements to the latest versions, pin the newly resolved versions, and install them.
|
|
154
|
-
|
|
155
|
-
### Building
|
|
156
|
-
|
|
157
|
-
`make all` is the one-stop shop for building the project. It will fix auto-fixable linting errors, raise any additional linting errors, build, run unit tests, and produce a coverage report.
|
|
158
|
-
|
|
159
|
-
To only check lints or fix lints, use `make lint` or `make fix-lint`.
|
|
160
|
-
|
|
161
|
-
To only build, use `make build`.
|
|
162
|
-
|
|
163
|
-
To only test, use `make test`.
|
|
164
|
-
|
|
165
|
-
### Publishing
|
|
166
|
-
|
|
167
|
-
Use `make publish-test` to publish to the test pypi repository.
|
|
168
|
-
|
|
169
|
-
Use `make publish` to publish to the prod repository.
|
|
170
|
-
|
|
171
|
-
### Cleaning
|
|
172
|
-
|
|
173
|
-
Use `make clean` to remove build artifacts.
|
|
174
|
-
|
|
175
|
-
Use `make reinit-venv` if you need to completely reset your virtual environment.
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "datetime-matcher"
|
|
3
|
+
version = "0.3.0"
|
|
4
|
+
description = "A library which extends regex with support for datetime format codes."
|
|
5
|
+
readme = { file = "README.md", content-type = "text/markdown" }
|
|
6
|
+
requires-python = ">=3.9"
|
|
7
|
+
dependencies = [
|
|
8
|
+
]
|
|
9
|
+
classifiers = [
|
|
10
|
+
"Development Status :: 3 - Alpha",
|
|
11
|
+
"Intended Audience :: Developers",
|
|
12
|
+
"Intended Audience :: System Administrators",
|
|
13
|
+
"Programming Language :: Python :: 3",
|
|
14
|
+
"Natural Language :: English",
|
|
15
|
+
"Operating System :: OS Independent",
|
|
16
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
17
|
+
"Topic :: Text Processing",
|
|
18
|
+
"Topic :: Utilities",
|
|
19
|
+
"Typing :: Typed",
|
|
20
|
+
]
|
|
21
|
+
license = "MIT"
|
|
22
|
+
license-files = ["LICENSE"]
|
|
23
|
+
authors = [
|
|
24
|
+
{ name = "Stephen Zhao", email = "mail@zhaostephen.com" },
|
|
25
|
+
]
|
|
26
|
+
keywords = [
|
|
27
|
+
"datetime",
|
|
28
|
+
"regex",
|
|
29
|
+
"datetime parsing",
|
|
30
|
+
"datetime format",
|
|
31
|
+
"substitution",
|
|
32
|
+
"regular expression",
|
|
33
|
+
"format",
|
|
34
|
+
"strftime",
|
|
35
|
+
"strptime",
|
|
36
|
+
"parse",
|
|
37
|
+
"reformat",
|
|
38
|
+
"date",
|
|
39
|
+
"time",
|
|
40
|
+
"format code",
|
|
41
|
+
"search",
|
|
42
|
+
"find",
|
|
43
|
+
"replace",
|
|
44
|
+
"match",
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
[project.urls]
|
|
48
|
+
Homepage = "https://github.com/stephen-zhao/datetime-matcher"
|
|
49
|
+
Source = "https://github.com/stephen-zhao/datetime-matcher"
|
|
50
|
+
|
|
51
|
+
[build-system]
|
|
52
|
+
requires = ["setuptools >= 77.0.3"]
|
|
53
|
+
build-backend = "setuptools.build_meta"
|
|
54
|
+
|
|
55
|
+
[tool.setuptools.package-dir]
|
|
56
|
+
"" = "src"
|
|
57
|
+
|
|
58
|
+
[tool.setuptools.packages.find]
|
|
59
|
+
where = ["src"]
|
|
60
|
+
include = ["datetime_matcher"]
|
|
61
|
+
|
|
62
|
+
[tool.uv]
|
|
63
|
+
dev-dependencies = [
|
|
64
|
+
"bump-my-version>=1.2.1",
|
|
65
|
+
"pytest>=8.4.1",
|
|
66
|
+
"uv>=0.8.11",
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
[tool.bumpversion]
|
|
70
|
+
current_version = "0.3.0"
|
|
71
|
+
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
72
|
+
serialize = ["{major}.{minor}.{patch}"]
|
|
73
|
+
search = "{current_version}"
|
|
74
|
+
replace = "{new_version}"
|
|
75
|
+
regex = false
|
|
76
|
+
ignore_missing_version = false
|
|
77
|
+
ignore_missing_files = false
|
|
78
|
+
tag = true
|
|
79
|
+
sign_tags = false
|
|
80
|
+
tag_name = "v{new_version}"
|
|
81
|
+
tag_message = "Bump version: {current_version} → {new_version}"
|
|
82
|
+
allow_dirty = false
|
|
83
|
+
commit = true
|
|
84
|
+
message = "Bump version: {current_version} → {new_version}"
|
|
85
|
+
moveable_tags = []
|
|
86
|
+
commit_args = ""
|
|
87
|
+
setup_hooks = []
|
|
88
|
+
pre_commit_hooks = []
|
|
89
|
+
post_commit_hooks = []
|
{datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/src/datetime_matcher/datetime_extractor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: datetime-matcher
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: A library which extends regex with support for datetime format codes.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
Author-email: Stephen Zhao <mail@zhaostephen.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/stephen-zhao/datetime-matcher
|
|
8
|
+
Project-URL: Source, https://github.com/stephen-zhao/datetime-matcher
|
|
9
9
|
Keywords: datetime,regex,datetime parsing,datetime format,substitution,regular expression,format,strftime,strptime,parse,reformat,date,time,format code,search,find,replace,match
|
|
10
|
-
Platform: UNKNOWN
|
|
11
10
|
Classifier: Development Status :: 3 - Alpha
|
|
12
11
|
Classifier: Intended Audience :: Developers
|
|
13
12
|
Classifier: Intended Audience :: System Administrators
|
|
14
13
|
Classifier: Programming Language :: Python :: 3
|
|
15
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
16
14
|
Classifier: Natural Language :: English
|
|
17
15
|
Classifier: Operating System :: OS Independent
|
|
18
16
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
17
|
Classifier: Topic :: Text Processing
|
|
20
18
|
Classifier: Topic :: Utilities
|
|
21
19
|
Classifier: Typing :: Typed
|
|
22
|
-
Requires-Python: >=3.
|
|
20
|
+
Requires-Python: >=3.9
|
|
23
21
|
Description-Content-Type: text/markdown
|
|
24
22
|
License-File: LICENSE
|
|
23
|
+
Dynamic: license-file
|
|
25
24
|
|
|
26
25
|
# datetime-matcher 📆←💬
|
|
27
26
|
|
|
@@ -156,47 +155,3 @@ Minus the exceptions below, and barring platform-specific support, [strftime.org
|
|
|
156
155
|
The percentage literal in conventional regex (`%`) must be escaped in dfregex (`\%`)
|
|
157
156
|
because an unescaped one marks the beginning of a datetime format code and otherwise would be
|
|
158
157
|
ambiguous.
|
|
159
|
-
|
|
160
|
-
## Development
|
|
161
|
-
|
|
162
|
-
This project has an extensive `Makefile` for development automation. To get started quick: after cloning this project, run `make all`. This should create a virtual environment, install all the required dev-time packages, lint, build, and test the project.
|
|
163
|
-
|
|
164
|
-
### Virtual Environment Setup
|
|
165
|
-
|
|
166
|
-
You only have to run these once. And `make all` covers these steps automatically, but this is here for your reference.
|
|
167
|
-
|
|
168
|
-
Use `make reinit-venv` to create a new virtual environment from scratch. This will live inside the project's root. All subsequent make commands will automatically invoke python from inside this virtual environment. You may rerun this to completely wipe the virtual environment and start from scratch.
|
|
169
|
-
|
|
170
|
-
Use `make init-piptools` to bootstrap the virtual environment.
|
|
171
|
-
|
|
172
|
-
### Dependency Management
|
|
173
|
-
|
|
174
|
-
To add more runtime dependencies on pypi packages, add them to `requirements.in`. Then use `make install-requirements` to install them.
|
|
175
|
-
|
|
176
|
-
To add more devtime dependencies (these will not be deemed dependencies in the distributable/built version of the package), add them to any `*.in` file within the `requirements-devtime.d/` directory. Then use `make install-requirements` to install them.
|
|
177
|
-
|
|
178
|
-
To upgrade the pinned dependencies, run `make upgrade-requirements`. This will re-resolve the requirements to the latest versions, pin the newly resolved versions, and install them.
|
|
179
|
-
|
|
180
|
-
### Building
|
|
181
|
-
|
|
182
|
-
`make all` is the one-stop shop for building the project. It will fix auto-fixable linting errors, raise any additional linting errors, build, run unit tests, and produce a coverage report.
|
|
183
|
-
|
|
184
|
-
To only check lints or fix lints, use `make lint` or `make fix-lint`.
|
|
185
|
-
|
|
186
|
-
To only build, use `make build`.
|
|
187
|
-
|
|
188
|
-
To only test, use `make test`.
|
|
189
|
-
|
|
190
|
-
### Publishing
|
|
191
|
-
|
|
192
|
-
Use `make publish-test` to publish to the test pypi repository.
|
|
193
|
-
|
|
194
|
-
Use `make publish` to publish to the prod repository.
|
|
195
|
-
|
|
196
|
-
### Cleaning
|
|
197
|
-
|
|
198
|
-
Use `make clean` to remove build artifacts.
|
|
199
|
-
|
|
200
|
-
Use `make reinit-venv` if you need to completely reset your virtual environment.
|
|
201
|
-
|
|
202
|
-
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
LICENSE
|
|
2
2
|
README.md
|
|
3
3
|
pyproject.toml
|
|
4
|
-
setup.cfg
|
|
5
4
|
src/datetime_matcher/__init__.py
|
|
6
5
|
src/datetime_matcher/datetime_extractor.py
|
|
7
6
|
src/datetime_matcher/datetime_matcher.py
|
|
8
7
|
src/datetime_matcher/dfregex_lexer.py
|
|
9
8
|
src/datetime_matcher/model_types.py
|
|
9
|
+
src/datetime_matcher/py.typed
|
|
10
10
|
src/datetime_matcher/regex_generator.py
|
|
11
11
|
src/datetime_matcher.egg-info/PKG-INFO
|
|
12
12
|
src/datetime_matcher.egg-info/SOURCES.txt
|
{datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/src/datetime_matcher.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{datetime-matcher-0.2.0 → datetime_matcher-0.3.0}/src/datetime_matcher.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
datetime-matcher-0.2.0/setup.cfg
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
[metadata]
|
|
2
|
-
name = datetime-matcher
|
|
3
|
-
version = 0.2.0
|
|
4
|
-
author = Stephen Zhao
|
|
5
|
-
author_email = mail@zhaostephen.com
|
|
6
|
-
description = A library which extends regex with support for datetime format codes.
|
|
7
|
-
long_description = file: README.md
|
|
8
|
-
long_description_content_type = text/markdown
|
|
9
|
-
url = https://github.com/stephen-zhao/datetime_matcher
|
|
10
|
-
classifiers =
|
|
11
|
-
Development Status :: 3 - Alpha
|
|
12
|
-
Intended Audience :: Developers
|
|
13
|
-
Intended Audience :: System Administrators
|
|
14
|
-
Programming Language :: Python :: 3
|
|
15
|
-
License :: OSI Approved :: MIT License
|
|
16
|
-
Natural Language :: English
|
|
17
|
-
Operating System :: OS Independent
|
|
18
|
-
Topic :: Software Development :: Libraries :: Python Modules
|
|
19
|
-
Topic :: Text Processing
|
|
20
|
-
Topic :: Utilities
|
|
21
|
-
Typing :: Typed
|
|
22
|
-
keywords =
|
|
23
|
-
datetime
|
|
24
|
-
regex
|
|
25
|
-
datetime parsing
|
|
26
|
-
datetime format
|
|
27
|
-
substitution
|
|
28
|
-
regular expression
|
|
29
|
-
format
|
|
30
|
-
strftime
|
|
31
|
-
strptime
|
|
32
|
-
parse
|
|
33
|
-
reformat
|
|
34
|
-
date
|
|
35
|
-
time
|
|
36
|
-
format code
|
|
37
|
-
search
|
|
38
|
-
find
|
|
39
|
-
replace
|
|
40
|
-
match
|
|
41
|
-
|
|
42
|
-
[options]
|
|
43
|
-
package_dir =
|
|
44
|
-
= src
|
|
45
|
-
packages = find:
|
|
46
|
-
python_requires = >=3.6
|
|
47
|
-
|
|
48
|
-
[options.packages.find]
|
|
49
|
-
where = src
|
|
50
|
-
|
|
51
|
-
[coverage:report]
|
|
52
|
-
exclude_lines =
|
|
53
|
-
pragma: no cover
|
|
54
|
-
def __repr__
|
|
55
|
-
if self\.debug
|
|
56
|
-
raise AssertionError
|
|
57
|
-
raise NotImplementedError
|
|
58
|
-
if 0:
|
|
59
|
-
if __name__ == .__main__.:
|
|
60
|
-
|
|
61
|
-
[coverage:run]
|
|
62
|
-
omit = .venv/*,test/*,docs/*
|
|
63
|
-
|
|
64
|
-
[isort]
|
|
65
|
-
multi_line_output = 3
|
|
66
|
-
include_trailing_comma = True
|
|
67
|
-
force_grid_wrap = 0
|
|
68
|
-
use_parentheses = True
|
|
69
|
-
ensure_newline_before_comments = True
|
|
70
|
-
line_length = 100
|
|
71
|
-
|
|
72
|
-
[flake8]
|
|
73
|
-
ignore = W503,E203,B950,E501,C81,WPS210,WPS213,WPS305,WPS337,WPS348
|
|
74
|
-
min-name-length = 3
|
|
75
|
-
max-try-body-length = 2
|
|
76
|
-
max-complexity = 18
|
|
77
|
-
select = B,C,E,F,N400,N8,W,T4
|
|
78
|
-
exclude = test, .venv, build, docs
|
|
79
|
-
per-file-ignores =
|
|
80
|
-
**/__init__.py:F401
|
|
81
|
-
|
|
82
|
-
[mypy]
|
|
83
|
-
warn_redundant_casts = True
|
|
84
|
-
warn_return_any = True
|
|
85
|
-
warn_unused_ignores = True
|
|
86
|
-
warn_unused_configs = True
|
|
87
|
-
no_implicit_optional = True
|
|
88
|
-
|
|
89
|
-
[egg_info]
|
|
90
|
-
tag_build =
|
|
91
|
-
tag_date = 0
|
|
92
|
-
|