-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
102 lines (89 loc) · 2.81 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
101
102
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[tool.poetry]
name = "buzzvil-python-styleguide"
version = "1.6.0"
description = "Buzzvil's shared style preset"
authors = ["Isac Byeonghoon Yoo <[email protected]>"]
maintainers = ["Isac Byeonghoon Yoo <[email protected]>"]
readme = "README.md"
repository = "https://github.com/Buzzvil/buzzvil-python-styleguide"
classifiers = [
"Framework :: Flake8",
"Environment :: Console",
"Development Status :: 4 - Beta",
"Framework :: Flake8",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
]
[tool.poetry.dependencies]
python = "^3.7"
black = ">=22.6.0"
django-stubs = { version = ">=1.12.0", optional = true }
flake8 = ">=3.8"
flake8-annotations-complexity = ">=0.0.7"
flake8-bandit = ">=3.0.0"
flake8-black = ">=0.3.3"
flake8-breakpoint = ">=1.1.0"
flake8-bugbear = ">=22.7.1"
flake8-builtins = ">=1.5.3"
flake8-comprehensions = ">=3.10.0"
flake8-datetimez = ">=20.10.0"
flake8-django = { version = ">=1.1.2", optional = true }
flake8-eradicate = ">=1.2.1"
flake8-force-keyword-arguments = ">=1.0.4"
flake8-functions = ">=0.0.7"
flake8-future-import = ">=0.4.6"
flake8-logging-format = ">=0.6.0"
flake8-print = ">=5.0.0"
flake8-pytest-style = ">=1.6.0"
flake8-return = ">=1.1.3"
importlib-metadata = {version = ">=1.4", python = "<3.8"}
mypy = ">=0.971"
nitpick = ">=0.32.0"
pep8-naming = ">=0.13.0"
typing-extensions = { version = ">=3.8", python = "<3.8" }
[tool.poetry.dev-dependencies]
pytest = ">=7.0.0"
[tool.poetry.extras]
django = ["django-stubs", "flake8-django"]
[tool.poetry.plugins."flake8.extension"]
BZ = "buzzvil_python_styleguide:RequestsTimeoutPlugin"
[tool.black]
line-length = 120
skip-string-normalization = true
target-version = ["py37", "py38", "py39", "py310"]
[tool.nitpick]
style = "py://buzzvil_python_styleguide/styles/nitpick-style.toml"
cache = "never"
[tool.mypy]
allow_redefinition = true
disallow_any_decorated = true
disallow_any_explicit = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
no_implicit_optional = true
no_implicit_reexport = true
no_warn_no_return = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_ignores = true
# Output configuration
show_error_context = true
show_column_numbers = true
show_error_codes = true
pretty = true