-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
187 lines (157 loc) · 3.49 KB
/
setup.cfg
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
# django-mcadmin
# setup.cfg
[metadata]
name = django-mcadmin
version = 0.7.2
description = Easily run Django management commands from admin
python-requires = >=3.6
license-file = COPYING
author = Alexei Andrushievich
author-email = vint21h@vint21h.pp.ua
url = https://github.com/vint21h/django-mcadmin
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Plugins
Framework :: Django :: 2.2
Framework :: Django :: 3.0
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Operating System :: Unix
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Topic :: Utilities
license = GPLv3+
long-description = file:README.rst
long-description-content-type = text/x-rst
keywords = django,admin,management,commands,management-commands
[options]
packages = find:
zip_safe = False
include_package_data = True
test_suite = tests
install_requires =
django>=2.2<=3.1
django-appconf>=1.0.3
[options.extras_require]
test =
attrs==19.3.0
bandit==1.6.2
black==19.10b0
check-manifest==0.42
coverage==5.1
coveralls==2.0.0
django-nose==1.4.6
django-stubs==1.5.0
dodgy==0.2.1
flake8-annotations-complexity==0.0.4
flake8-bugbear==20.1.4
flake8-docstrings==1.5.0
flake8-mypy==17.8.0
flake8==3.8.2
freezegun==0.3.15
interrogate==1.2.0
isort[pipfile]==4.3.21
mypy==0.770
nose-exclude==0.5.0
nose-timer==1.0.0
pep8-naming==0.10.0
pre-commit-hooks==3.1.0
pre-commit==2.4.0
pygments==2.6.1
pylint-django==2.0.15
pylint==2.5.2
pyroma==2.6
readme_renderer==26.0
rednose==1.3.0
removestar==1.2.2
seed-isort-config==2.1.1
tox-pyenv==1.1.0
tox-travis==0.12
tox==3.15.1
twine==3.1.1
[options.packages.find]
exclude =
tests.*
tests
[wheel]
universal = False
[bdist_wheel]
universal = False
[sdist]
formats = zip
[mypy]
files = mcadmin,tests
check_untyped_defs = True
disallow_any_generics = True
disallow_untyped_calls = True
ignore_errors = False
ignore_missing_imports = True
implicit_reexport = True
strict_optional = True
strict_equality = True
no_implicit_optional = True
warn_unused_ignores = True
warn_redundant_casts = True
warn_unused_configs = True
warn_unreachable = True
warn_no_return = True
plugins = mypy_django_plugin.main
[mypy.plugins.django-stubs]
django_settings_module = tests.settings
[flake8]
max-line-length = 88
select = B,C,E,F,W,T4
doctests = True
# ignore "flake8-mypy" success to not broke pre-commit flow
ignore = T499
[check-manifest]
ignore =
.bandit
.editorconfig
.env
.env.example
.envrc
.gitattributes
.gitignore
.pre-commit-config.yaml
.pylintrc
.python-version
.travis.yml
Makefile
Pipfile
Pipfile.lock
tests
tests.*
TODO
tox.ini
ignore-bad-ideas =
*.mo
[coverage:run]
branch = True
source = mcadmin
omit =
*/__init__.py
mcadmin/apps.py
[coverage:report]
omit =
*/__init__.py
mcadmin/apps.py
exclude_lines =
pragma: no cover
[coverage:xml]
[isort]
balanced_wrapping = True
combine_as_imports = True
default_section = FIRSTPARTY
force_grid_wrap = 0
force_sort_within_sections = True
force_to_top = True
include_trailing_comma = True
known_first_party = mcadmin
line_length = 88
lines_after_imports = 2
length_sort = True
multi_line_output = 3
use_parentheses = True
virtual_env = $VIRTUAL_ENV
known_third_party = appconf,django,freezegun,setuptools