forked from ctgk/python-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
65 lines (55 loc) · 1.43 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
; See:
; https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html
[metadata]
name = pyboilerplate
version = attr: pyboilerplate.__init__.__version__
author = ctgk
author_email = [email protected]
description = Boilerplate for Python project
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
license_file = LICENSE
platforms = posix
url = https://github.com/ctgk/python-boilerplate
[options]
python_requires = >=3.6
install_requires =
packages = find:
zip_safe = False
[options.packages.find]
include =
pyboilerplate
pyboilerplate.*
exclude =
docs
tests
[options.extras_require]
develop =
pre-commit
pytest
# format
autopep8
flake8
flake8-absolute-import
flake8-broken-line
flake8-builtins
flake8-commas
flake8-docstrings
flake8-import-order
flake8-multiline-containers
flake8-mutable
pep8-naming
# documentation
sphinx
sphinx_rtd_theme
livereload
[flake8]
per-file-ignores =
; Ignore 'Missing docstring in public module' and 'variable "copyright" is shadowing a python builtin'
docs/conf.py:A001,D100
; Ignore missing docstring in public module, class, method, function, package
tests/*.py:D100,D101,D102,D103,D104
application-import-names = pyboilerplate
; https://github.com/PyCQA/flake8-import-order/blob/master/tests/test_cases/complete_google.py
import-order-style = google