-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.cfg
119 lines (110 loc) · 2.74 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
[metadata]
name = dreg-client
version = 1.2.0
url = https://github.com/djmattyg007/dreg-client
project_urls =
Source = https://github.com/djmattyg007/dreg-client
Issues = https://github.com/djmattyg007/dreg-client/issues
author = Matthew Gamble
author_email = [email protected]
license = Apache License 2.0
license_file = LICENSE.txt
description = API client for Docker Registries
long_description = file: README.rst
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
Topic :: System :: Software Distribution
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
[options]
zip_safe = False
include_package_data = True
packages = find:
python_requires = >= 3.8
install_requires =
requests >= 2.27.1, < 3.0.0
requests-toolbelt >= 0.9.1, < 0.10.0
[options.extras_require]
lint =
black
check-manifest
flake8
flake8-annotations-complexity
flake8-black
flake8-breakpoint
flake8-bugbear
flake8-builtins
flake8-comprehensions
flake8-eradicate
flake8-expression-complexity
flake8-isort
flake8-pytest-style
flake8-requirements
isort
pep8-naming
typecheck =
mypy
types-freezegun
types-requests
test =
coverage[toml] >= 5.5, < 6.0
docker >= 5.0.2, < 6.0.0
freezegun
pytest
pytest-cov
responses
build =
build
twine
dev =
wheel
invoke
%(lint)s
%(typecheck)s
%(test)s
[options.packages.find]
exclude =
tests
tests.*
[flake8]
application-import-names = dreg_client, tests
exclude = build
max-line-length = 100
select =
# Regular flake8 rules, plus flake8-comprehensions (C4), plus flake8-eradicate (E800)
C, E, F, W
# flake8-builtins
A
# flake8-bugbear rules, plus flake8-breakpoint (B6)
B
# flake8-isort, plus flake8-requirements (I9)
I
# pep8-naming rules
N
# flake8-pytest-style
PT
# flake8-expression-complexity
ECE
# flake8-annotations-complexity
TAE
ignore =
# E203: whitespace before ':' (replaced by Black)
E203
# E501: line too long (replaced by Black)
E501
# E731: utterly pointless
E731
# W503: line break before binary operator (not PEP8 compliant)
W503
# PT004: disabled because it creates false positives with fixtures that yield
# Also need to sort out this github issue: https://github.com/m-burst/flake8-pytest-style/issues/141
PT004
# flake8-pytest-style
pytest-fixture-no-parentheses = true
pytest-parametrize-values-type = tuple
pytest-parametrize-values-row-type = tuple