forked from akaihola/darker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
72 lines (67 loc) · 1.93 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
[metadata]
name = darker
version = attr: darker.version.__version__
author = Antti Kaihola
author_email = [email protected]
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 =
black>=21.5b1
toml
typing-extensions ; python_version < "3.8"
dataclasses ; python_version < "3.7"
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 =
black>=21.7b1 # to prevent Mypy error about `gen_python_files`, see issue #189
flake8<4
mypy>=0.910
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.1.3
[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