-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
79 lines (69 loc) · 1.97 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
# See https://llcad-github.llan.ll.mit.edu/g104-dso/template-python.git:setup.cfg
# General metadata
[metadata]
name = pymasq
version = attr: pymasq.__version__
license = MIT
summary = Mitigation Assessment and Application for Statistical Disclosure Control
description-file = README.md
author = Cuyler OBrien, Jaime Pena, Evan Young, Brian Levine, Eric Wybenga
[options]
python_requires = >= 3.8
packages = find:
package_dir =
= src
install_requires =
boruta>=0.3
bpemb>=0.3.3
matplotlib>=3.4.2
m2r2>=0.3.2
numpy>=1.19.3
pandas>=1.1.3
plotly>=4.11.0
scikit-learn>=0.23
scipy>=1.5.4
statsmodels>=0.12
SALib>=1.4.5
tensorflow>=2.4.0
torch>=1.9.0
tpot[dask]>=0.11
tests_require =
pytest>=3.8
hypothesis>=4.53.2
beartype>=0.5.1
[options.packages.find]
where = src
exclude = tests, tests.*
# pytest settings
[tool:pytest]
python_files=test_*.py
testpaths=tests
[tox:tox]
envlist = py38, py39, coverage, bandit, owasp-depcheck
toxworkdir = build/tox
[testenv]
setenv = HYPOTHESIS_PROFILE=ci
deps = pytest
hypothesis
commands = pytest tests --junitxml={toxworkdir}/xunit-tests-{envname}.xml -o junit_suite_name=pytest-{envname}
[testenv:coverage]
usedevelop = true
basepython = python3.8
deps = {[testenv]deps}
coverage
pytest-cov
commands = pytest --cov-report xml:{toxworkdir}/xunit-coverage.xml --cov-config=setup.cfg --cov=pymasq tests -o junit_suite_name=pytest-{envname}
[testenv:localcoverage]
usedevelop = true
basepython = python3.8
deps = {[testenv]deps}
coverage
pytest-cov
commands = pytest --cov-report term-missing --cov-config=setup.cfg --cov=pymasq tests
[testenv:bandit]
basepython = python3.8
deps = bandit
commands = bandit -f json -o {toxworkdir}/security-bandit.json -r {envsitepackagesdir}/pymasq
[testenv:owasp-depcheck]
basepython = python3.8