Changes to allow local runs

This commit is contained in:
Carlos Felix 2024-11-05 11:31:54 -05:00 committed by Carlos Felix
commit ff9e7b9aa2
11 changed files with 3231 additions and 1867 deletions

View file

@ -1,7 +1,7 @@
[tox]
# required because we use pyproject.toml
isolated_build = true
envlist = py38, py39, lint, checkdeps, pytest
envlist = py310, lint, checkdeps, pytest
# only checks python versions installed locally
skip_missing_interpreters = true
@ -16,7 +16,9 @@ commands = black data_pipeline
# checks the dependencies for security vulnerabilities and open source licenses
allowlist_externals = bash
commands = pip install -U wheel
safety check --ignore 51457 --ignore 44715 # known issue: https://github.com/pyupio/safety/issues/364
# known issue: https://github.com/pyupio/safety/issues/364
# jinja2 false positive for our use: https://data.safetycli.com/v/70612/f17
safety check --ignore 51457 --ignore 44715 --ignore 70612
bash scripts/run-liccheck.sh
[testenv:pytest]