-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.cfg
104 lines (95 loc) · 2.4 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
[metadata]
name = zulu
version = attr: zulu.__version__
author = Derrick Gilland
author_email = dgilland@gmail.com
url = https://github.com/dgilland/zulu
description = A drop-in replacement for native datetimes that embraces UTC
long_description = file: README.rst, CHANGELOG.rst, LICENSE.rst
keywords = zulu date time datetime timedelta utc parser
license = MIT License
classifiers =
Development Status :: 5 - Production/Stable
License :: OSI Approved :: MIT License
Intended Audience :: Developers
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development :: Libraries
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Utilities
[options]
package_dir =
= src
packages = find:
python_requires = >=3.6
install_requires =
Babel>=2.3.4
iso8601>=0.1.11
python-dateutil>=2.6.0
pytimeparse>=1.1.5
[options.packages.find]
where = src
[options.extras_require]
dev =
black
build
coverage
docformatter
flake8
flake8-black
flake8-bugbear
flake8-isort
furo
importlib_metadata<5; python_version=="3.7"
invoke
isort
pylint
pytest
pytest-cov
pytz
sphinx
tox
twine
wheel
[bdist_wheel]
python_tag = py3
[flake8]
exclude = .tox,venv,env
max_line_length = 100
max_complexity = 12
# F401 - `module` imported but unused
# F811 - redefinition of unused `name` from line `N`
# E203 - whitespace before ':'
# W503 - line break before binary operator
ignore = F401,F811,E203,W503
[tool:isort]
line_length = 100
multi_line_output = 3
lines_after_imports = 2
combine_as_imports = true
include_trailing_comma = true
force_sort_within_sections = true
[tool:pytest]
junit_family = xunit2
filterwarnings =
ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning:dateutil
addopts =
--verbose
--doctest-modules
--no-cov-on-fail
--cov-fail-under=100
--cov-report=term-missing
--cov-report=xml:build/coverage/coverage.xml
--cov-report=html:build/coverage
--junitxml=build/testresults/junit.xml
[coverage:run]
omit =
*/tests/*
*/test_*