-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
88 lines (76 loc) · 1.65 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
[metadata]
name = pnowosie.ifirma-api
version = 1.4.0
description = iFirma API client.
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/pnowosie/ifirma-api
author = Paweł Nowosielski
author_email = "Paweł Nowosielski" <[email protected]>
license = MIT
license_files = LICENSE
classifiers =
License :: OSI Approved :: MIT License
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3 :: Only
Operating System :: OS Independent
python_requires = >=3.8
[options]
package_dir =
=src
packages = find:
include_package_data = True
install_requires =
requests>=2.26
pyyaml>=6.0
[options.packages.find]
where = src
exclude =
test*
######################
# Tool configuration #
######################
[tool:pytest]
testpaths = test
addopts = --cov --strict-markers
xfail_strict = True
[coverage:run]
source = ifirma
branch = True
[coverage:report]
show_missing = True
skip_covered = True
[coverage:paths]
source =
src/ifirma
*/site-packages/ifirma
[flake8]
max-line-length = 120
[tox:tox]
envlist = py38,py312
isolated_build = True
[testenv]
deps =
pytest
pytest-cov
# pytest-randomly
commands =
pytest {posargs}
[testenv:format]
skip_install = True
deps =
black
commands =
black {posargs:--check --diff src test}
[testenv:lint]
skip_install = True
deps =
flake8
flake8-bugbear
commands =
flake8 {posargs:src test}