-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
41 lines (34 loc) · 860 Bytes
/
pyproject.toml
File metadata and controls
41 lines (34 loc) · 860 Bytes
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.coverage.run]
source = ["hyperbit"]
[tool.coverage.report]
ignore_errors = true
[tool.pylint."messages control"]
ignore = "gui"
disable = "fixme,invalid-name,too-few-public-methods,unused-import"
extension-pkg-allow-list = "PyQt5"
[tool.tox]
legacy_tox_ini = """
[testenv]
deps =
coverage[toml]
flake8
pylint
-rrequirements.txt
commands = coverage run -a -m unittest discover -v -s ./tests
[testenv:reset]
commands =
coverage erase
flake8 hyperbit --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 hyperbit --count --exit-zero --statistics
pylint hyperbit --exit-zero
[testenv:stats]
commands =
coverage report
coverage xml
[tox]
envlist = reset,py{37,38,39},stats
skip_missing_interpreters = true
"""