mirror of
https://github.com/enpaul/kodak.git
synced 2025-12-19 17:12:34 +00:00
Rename project to kodak
This commit is contained in:
10
tox.ini
10
tox.ini
@@ -18,13 +18,12 @@ locked_deps =
|
||||
ruamel.yaml
|
||||
toml
|
||||
commands =
|
||||
pytest --cov={envsitepackagesdir}/fresnel_lens --cov-config {toxinidir}/.coveragerc --cov-report term-missing {toxinidir}/tests/
|
||||
pytest --cov={envsitepackagesdir}/kodak --cov-config {toxinidir}/.coveragerc --cov-report term-missing {toxinidir}/tests/
|
||||
|
||||
[testenv:static]
|
||||
description = Static formatting and quality enforcement
|
||||
basepython = python3.8
|
||||
ignore_errors = true
|
||||
skip_install = true
|
||||
locked_deps =
|
||||
black
|
||||
blacken-docs
|
||||
@@ -37,14 +36,13 @@ locked_deps =
|
||||
pylint
|
||||
commands =
|
||||
pre-commit run --all-files
|
||||
pylint --rcfile {toxinidir}/.pylintrc {toxinidir}/fresnel_lens/
|
||||
mypy --ignore-missing-imports --no-strict-optional {toxinidir}/fresnel_lens/
|
||||
pylint --rcfile {toxinidir}/.pylintrc {toxinidir}/kodak/
|
||||
mypy --ignore-missing-imports --no-strict-optional {toxinidir}/kodak/
|
||||
|
||||
[testenv:static-tests]
|
||||
description = Static formatting and quality enforcement for the tests
|
||||
basepython = python3.8
|
||||
ignore_errors = true
|
||||
skip_install = true
|
||||
locked_deps =
|
||||
pylint
|
||||
mypy
|
||||
@@ -62,7 +60,7 @@ locked_deps =
|
||||
safety
|
||||
poetry
|
||||
commands =
|
||||
bandit --recursive --quiet {toxinidir}/fresnel_lens/
|
||||
bandit --recursive --quiet {toxinidir}/kodak/
|
||||
bandit --recursive --quiet --skip B101 {toxinidir}/tests/
|
||||
poetry export --format requirements.txt --output {envtmpdir}/requirements.txt --without-hashes --dev
|
||||
safety check --bare --file {envtmpdir}/requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user