-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpyproject.toml
100 lines (88 loc) · 2.37 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[tool.poetry]
name = "postal-address"
version = "22.4.22.1"
description = "Parse, normalize and render postal addresses."
authors = ["Scaleway <[email protected]>"]
repository = "https://github.com/Scaleway/postal-address"
license = "BSD-2"
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Internationalization",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Localization",
"Topic :: Utilities",
]
include = [
"CHANGES.rst",
"LICENSE",
]
[tool.poetry.dependencies]
python = "^3.6.2"
boltons = ">=16.5"
Faker = ">=5.0"
importlib-metadata = { version = "^2.0", python = "<3.8" }
pycountry = "22.3.5"
[tool.poetry.dev-dependencies]
pytest = "*"
pytest-cov = "*"
pytest-mock = "*"
# Linting and formatting
autoflake = "*"
black = "^22.1"
flake8 = "*"
flake8-black = "*"
flake8-bugbear = "*"
flake8-comprehensions = "*"
flake8-docstrings = "*"
flake8-isort = "*"
flake8-pytest-style = "*"
flake8-use-fstring = "*"
flake8-simplify = "*"
flakeheaven = "*"
invoke = "^1.7.0"
isort = "*"
mypy = "*"
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
line_length = 88
combine_as_imports = true
[tool.coverage.run]
source = ["postal_address"]
omit = ["*/tests/*"]
branch = true
[tool.coverage.report]
show_missing = true
[tool.mypy]
ignore_missing_imports = true
disallow_untyped_defs = true
warn_unused_configs = true
warn_unused_ignores = true
warn_redundant_casts = true
[tool.flakeheaven]
max_line_length = 88
exclude = ["README.rst", "CHANGES.rst", "docs/"]
[tool.flakeheaven.plugins]
pyflakes = ["+*"]
flake8-black = ["+*"]
flake8-isort= ["+*"]
flake8-bugbear = ["+*"]
flake8-comprehensions = ["+*"]
flake8-simplify = ["+*", "-SIM106"]
flake8-use-fstring = ["+*", "-FS003"]
flake8-docstrings = ["+*", "-D10?", "-D401"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"