j40-cejst-2/data/data-pipeline/tox.ini
Nat Hillard c1568e87c0
Data directory should adopt standard Poetry-suggested python package structure (#457)
* Fixes #456 - Our data directory should adopt standard python package structure
* a few missed references
* updating readme
* updating requirements
* Running Black
* Fixes for flake8
* updating pylint
2021-08-05 15:35:54 -04:00

20 lines
562 B
INI

[tox]
# required because we use pyproject.toml
isolated_build = true
envlist = py37, py38, py39, lint, checkdeps
# only checks python versions installed locally
skip_missing_interpreters = true
[testenv:lint]
# lints python code in src and tests
basepython = python3.9
deps = -rrequirements.txt
commands = black data_pipeline
flake8 data_pipeline
pylint data_pipeline
[testenv:checkdeps]
# checks the dependencies for security vulnerabilities and open source licenses
deps = -rrequirements.txt
commands = safety check
liccheck