Skip to content

Commit

Permalink
- updated dev-cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
Sid Mohan authored and Sid Mohan committed Aug 6, 2024
1 parent 88fa73c commit ff2717a
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ isolated_build = True

[testenv]
deps =
pytest
pytest-codeblocks
pytest==7.4.0
pytest-asyncio==0.21.0
pytest-cov
-r requirements-dev.txt
extras = all
Expand All @@ -15,4 +15,24 @@ allowlist_externals =
commands =
pip install --no-cache-dir -r requirements-dev.txt
tesseract --version
pytest {posargs} --codeblocks
pytest {posargs} -v -s --cov=datafog --cov-report=term-missing

[testenv:lint]
skip_install = true
deps =
black
isort
flake8
commands =
black --check .
isort --check-only .
flake8 .

[testenv:typecheck]
deps =
mypy
commands =
mypy datafog tests

[pytest]
asyncio_mode = auto

0 comments on commit ff2717a

Please sign in to comment.