forked from nijel/utidylib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
63 lines (58 loc) · 1.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
[metadata]
name = uTidylib
version = 0.10
author = Michal Čihař
author_email = [email protected]
license = MIT
description = Wrapper for HTML Tidy
url = https://cihar.com/software/utidylib/
project_urls =
Issue Tracker=https://github.com/nijel/utidylib/issues
Documentation=https://utidylib.readthedocs.io/
Source Code=https://github.com/nijel/utidylib
Funding=https://liberapay.com/nijel
download_url = https://github.com/nijel/utidylib
long_description = file: README.rst
long_description_content_type = text/x-rst
classifiers =
Development Status :: 5 - Production/Stable
Topic :: Internet
License :: OSI Approved :: MIT License
Intended Audience :: Developers
Environment :: Web Environment
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
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
[options]
packages = tidy
python_requires = >=3.8
include_package_data = 1
[options.package_data]
tidy = test_data/*.html
[flake8]
max-complexity = 16
select = E,W1,W2,W3,W504,W505,W6
enable-extensions = B,C,D,F,G,I,M,N,R,SF
# Should be fixed:
# D10 - we are missing many docstrings
# D20* - wrong docstring formatting
# D40* - many strings need rephrasing
ignore = D10,D200,D202,D204,D205,D209,D400,D401,SF01,N816,N802
exclude = .git,.venv*,build
max-line-length = 88
[pycodestyle]
select = E,W1,W2,W3,W504,W505,W6
exclude = .git,.venv*,build
max-line-length = 88
[isort]
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
line_length = 88
known_first_party = tidy