mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-09-09 21:40:59 -07:00
Changes to allow local runs
This commit is contained in:
parent
d298f7dedb
commit
ff9e7b9aa2
11 changed files with 3231 additions and 1867 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue