forked from vladimarius/pyap
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
75 lines (69 loc) · 2.36 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[tool.poetry]
name = "pyap2"
version = "0.0.0"
packages = [{ include = "pyap" }]
description = "Pyap2 is a maintained fork of pyap, a regex-based library for parsing US, CA, and UK addresses. The fork adds typing support, handles more address formats and edge cases."
authors = ["Argyle Developers <[email protected]>"]
documentation = "https://github.com/argyle-engineering/pyap"
homepage = "https://github.com/argyle-engineering/pyap"
repository = "https://github.com/argyle-engineering/pyap"
license = "MIT"
readme="README.rst"
keywords = ["address", "parser", "regex"]
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
'Topic :: Software Development :: Libraries',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Utilities'
]
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.dev-dependencies]
black = "*"
flake8 = "*"
flake8-bugbear = "*"
yamllint = "*"
pytest = "^7.1.2"
taskipy = "^1.12.2"
[tool.taskipy.tasks]
lint = "flake8"
yamllint = "yamllint ."
run_pyright = "(npm list -g [email protected] || npm install -g [email protected]) && pyright"
check_types = "task run_pyright"
check_fmt = "black --check ."
fmt = "black ."
test = "pytest tests -vvv"
check = "task lint && task yamllint && task check_fmt && task check_types && task test"
[tool.pyright]
pythonVersion = "3.9"
reportIncompatibleVariableOverride = true
strictListInference = true
strictDictionaryInference = true
strictSetInference = true
reportUnusedImport = true
reportDuplicateImport = true
reportWildcardImportFromLibrary = true
reportOptionalMemberAccess = true
reportUntypedBaseClass = true
reportPrivateUsage = true
reportUntypedClassDecorator = true
reportConstantRedefinition = true
reportInvalidTypeVarUse = true
reportUnnecessaryIsInstance = true
reportUnnecessaryCast = true
reportUnnecessaryComparison = true
reportAssertAlwaysTrue = true
reportUnusedCoroutine = true
[build-system]
requires = ["poetry>=1.4", "poetry-dynamic-versioning>=1.0"]
build-backend = "poetry.masonry.api"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
latest-tag = true
pattern = "^(?P<base>\\d+\\.\\d+\\.\\d+)"
format-jinja = "{% if distance == 0 %}{{ base }}{% else %}{{ base }}a{{ distance }}{% endif %}"