-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
124 lines (112 loc) · 2.58 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
120
121
122
123
124
[metadata]
name = pycon-schemas
version = attr: pycon_schemas.version.__version__
description = A collection of jsonschema entityes for PyCons
long_description = file: README.md
long_description_content_type = text/markdown
project_urls =
Source Code = https://github.com/PythonSanSebastian/pycon-schemas
Bug Tracker = https://github.com/PythonSanSebastian/pycon-schemas/issues
Changelog = https://github.com/PythonSanSebastian/pycon-schemas/blob/master/CHANGELOG.md
author = Alexandre Savio
author_email = alexsavio@gmail.com
license = MIT License
license-file = LICENSE
keywords =
pycon
jsonschema
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Other Environment
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
[options]
python_requires = >=3.7
packages = find:
include_package_data = True
test_suite = tests
setup_requires =
wheel
setuptools
pytest-runner
install_requires =
tests_require =
pytest
jsonschema==3.1.1
[pydocstyle]
inherit = false
match = (?!test_).*\.py
ignore-decorators = property
[flake8]
max-line-length = 120
max-complexity = 10
select = C,E,F,W,B,B950
ignore = E501,E126
[isort]
multi_line_output = 3
include_trailing_comma = True
use_parentheses = True
force_single_line = False
indent = 4
line_length = 120
wrap_length = 60
not_skip = __init__.py
length_sort = True
known_first_party = pycon_schemas
known_third_party = pytest,jsonschema
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[mypy]
python_version = 3.7
ignore_missing_imports = True
warn_unused_configs = True
[tox:tox]
envlist =
lint,
# doclint,
isort,
mypy,
tests
skipsdist = True
[tool:pytest]
filterwarnings =
ignore::DeprecationWarning
[coverage:run]
branch = True
[coverage:report]
include =
pycon_schemas/*
omit =
*/tests/*
[testenv]
basepython = python3
whitelist_externals = make
deps =
lint: flake8
lint: flake8-bugbear
isort: isort
mypy: mypy
doclint: pydocstyle
passenv =
CI = 1
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}
TESTING = True
commands =
lint: flake8 pycon_schemas
isort: isort -c -rc pycon_schemas
mypy: mypy pycon_schemas
doclint: pydocstyle -v pycon_schemas
[testenv:tests]
deps =
coverage
commands =
python setup.py develop
coverage run -m pytest
coverage report
[testenv:docs]
deps = -rdocs/requirements.txt
changedir = {toxinidir}/docs
commands =
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html