-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
138 lines (122 loc) · 3.17 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "django-better-json-widget"
description = "Better JSON Widget for Django Admin"
version = "0.4.0"
license = "MIT"
packages = [
{ include = "better_json_widget" },
]
authors = [
"yakimka"
]
readme = "README.md"
repository = "https://github.com/yakimka/django-better-json-widget"
keywords = []
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
"Environment :: Web Environment",
"Framework :: Django",
"Programming Language :: Python :: 3",
]
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.dev-dependencies]
black = "^22.6.0"
darglint = "^1.8.1"
dlint = "^0.12.0"
flake8 = "^4.0.1"
flake8-aaa = "^0.12.2"
flake8-bandit = "^3.0.0"
flake8-broken-line = "^0.4.0"
flake8-bugbear = "^22.7.1"
flake8-comprehensions = "^3.10.0"
flake8-debugger = "^4.1.2"
flake8-docstrings = "^1.6.0"
flake8-eradicate = "^1.2.1"
flake8-executable = "^2.1.1"
flake8-fixme = "^1.1.1"
flake8-implicit-str-concat = "^0.3.0"
flake8-mock = "^0.3"
flake8-pie = "^0.15.0"
flake8-pylint = "^0.1.3"
flake8-pytest-style = "^1.6"
flake8-quotes = "^3.3.1"
flake8-rst-docstrings = "^0.2.7"
flake8-simplify = "^0.19.3"
flake8-string-format = "^0.3.0"
flake8-type-checking = "^2.0.6"
flake8-typing-imports = "^1.12.0"
isort = "^5.10.1"
mypy = "^0.950"
pep8-naming = "^0.13.1"
pre-commit = "^2.20.0"
pytest = "^7.1"
pytest-cov = "^3.0"
pytest-randomly = "^3.12"
safety = "^2.1"
tomli = "^2.0.1"
yamllint = "^1.27.1"
django-stubs = "^1.12.0"
[tool.isort]
# isort configuration:
# https://github.com/timothycrosley/isort/wiki/isort-Settings
profile = "black"
include_trailing_comma = true
use_parentheses = true
# See https://github.com/timothycrosley/isort#multi-line-output-modes
multi_line_output = 3
line_length = 80
[tool.black]
line-length = 80
[tool.pytest.ini_options]
# Directories that are not visited by pytest collector:
norecursedirs = ["*.egg", ".eggs", "dist", "build", "docs", ".tox", ".git", "__pycache__"]
# Strict `@xfail` by default:
xfail_strict = true
# Extra options:
addopts = [
"--strict-markers",
"--strict-config",
"--tb=short",
"--doctest-modules",
"--cov",
"--cov-report=term:skip-covered",
"--cov-report=term-missing",
"--cov-report=html",
"--cov-report=xml",
"--cov-branch",
"--cov-fail-under=100",
]
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
]
[tool.mypy]
# mypy configurations: https://mypy.readthedocs.io/en/latest/config_file.html
allow_redefinition = false
check_untyped_defs = true
disallow_any_explicit = false
disallow_any_generics = false
disallow_untyped_calls = true
disallow_untyped_decorators = true
ignore_errors = false
ignore_missing_imports = true
implicit_reexport = false
local_partial_types = true
no_implicit_optional = true
strict_equality = true
strict_optional = true
warn_no_return = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true
[tool.pylint.messages_control]
max-line-length = 80