-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy pathsetup.cfg
76 lines (71 loc) · 2.2 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
[metadata]
name = darker
version = attr: darker.version.__version__
author = Antti Kaihola
author_email = 13725+akaihola@users.noreply.github.com
license = BSD
license_file = LICENSE.rst
description = Apply Black formatting only in regions changed since last commit
# long_description is read and manipulated in setup.py
long_description_content_type = text/x-rst
classifiers =
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
project_urls =
Source Code = https://github.com/akaihola/darker
Change Log = https://github.com/akaihola/darker/blob/master/CHANGES.rst
url = https://github.com/akaihola/darker
[options]
include_package_data = True
package_dir =
=src
packages = find:
install_requires =
# NOTE: remember to keep `constraints-oldest.txt` in sync with these
black>=21.5b1
toml>=0.10.0
typing-extensions ; python_version < "3.8"
dataclasses ; python_version < "3.7"
# NOTE: remember to keep `.github/workflows/python-package.yml` in sync
# with the minimum required Python version
python_requires = >=3.6
[options.packages.find]
where = src
[options.entry_points]
console_scripts =
darker = darker.__main__:main_with_error_handling
pygments.lexers =
lint_location = darker.highlighting.lexers:LocationLexer
lint_description = darker.highlighting.lexers:DescriptionLexer
[options.extras_require]
isort =
isort>=5.0.1
test =
# NOTE: remember to keep `constraints-oldest.txt` in sync with these
black>=21.7b1 # to prevent Mypy error about `gen_python_files`, see issue #189
flake8<4
mypy>=0.931
pylint
pytest>=6.1.0
pytest-darker
pytest-flake8>=1.0.6
pytest-isort>=1.1.0
pytest-kwparametrize>=0.0.3
pytest-mypy
pygments
regex>=2021.4.4
types-dataclasses ; python_version < "3.7"
types-toml>=0.10.4
[flake8]
# Line length according to Black rules
max-line-length = 88
# Ignore rules which conflict with Black
ignore =
# E231 missing whitespace after ','
E231
# W503 line break before binary operator
W503