forked from antonagestam/collectfast
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
101 lines (87 loc) · 2.72 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
[metadata]
name = Collectfasta
version = attr: collectfasta.__version__
description = A Faster Collectstatic
long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8
license = MIT License
license_file = LICENSE
classifiers =
Environment :: Web Environment
Intended Audience :: Developers
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Framework :: Django
author = Anton Agestam, Jason Giancono
author_email = jasongiancono+github@gmail.com
url = https://github.com/jasongi/collectfasta/
[options]
include_package_data = True
packages = find:
install_requires =
Django>=4.2
django-storages>=1.6
typing-extensions
python_requires = >=3.9
[options.package_data]
collectfasta = py.typed
[bdist_wheel]
universal = true
[tool:pytest]
DJANGO_SETTINGS_MODULE = collectfasta.tests.settings
markers =
live_test: tests that interact with real APIs if credentials are set, docker if they aren't
speed_test: tests that test processing many static files
backend(backend): test that runs on a specific backend - generated by the strategy fixture
strategy(strategy): test that runs on a specific backend - generated by the strategy fixture
[flake8]
exclude = appveyor, .idea, .git, .venv, .tox, __pycache__, *.egg-info, build
max-complexity = 8
max-line-length = 120
# ignore F821 until mypy-0.730 compatibility is released
# https://github.com/PyCQA/pyflakes/issues/475
# see this discussion as to why we're ignoring E722
# https://github.com/PyCQA/pycodestyle/issues/703
# ignore E701 because it conflicts with black
# ignore B019 because we don't really care about memory leaks during collectstatic
extend-ignore = E722 F821 E701 B019
[isort]
profile = black
src_paths = collectfasta
force_single_line = True
[mypy]
python_version = 3.9
show_error_codes = True
pretty = True
files = .
no_implicit_reexport = True
no_implicit_optional = True
strict_equality = True
strict_optional = True
check_untyped_defs = True
disallow_incomplete_defs = True
ignore_missing_imports = False
warn_unused_configs = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
warn_unreachable = True
plugins =
mypy_django_plugin.main
[mypy.plugins.django-stubs]
django_settings_module = collectfasta.tests.settings
[mypy-storages.*,google.*,botocore.*,setuptools.*,pytest.*]
ignore_missing_imports = True
[coverage:run]
source = collectfasta
[coverage:report]
omit = */tests/*
exclude_lines =
pragma: no cover
# ignore non-implementations
\.\.\.