Skip to content

Commit

Permalink
Module template retrofit: Update tox.ini with result of templating (s…
Browse files Browse the repository at this point in the history
…ome old jobs are preserved) (#141)
  • Loading branch information
reivilibre authored Dec 30, 2021
1 parent 046971f commit f39068a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
2 changes: 2 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
check_untyped_defs = True
scripts_are_modules = True

# TODO The tests currently do not pass Mypy.
# Don't forget to update tox.ini when they do!
files =
ldap_auth_provider.py

Expand Down
25 changes: 23 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[tox]
envlist = packaging, pep8, py35, py36, py37, py38
isolated_build = True
envlist = packaging, pep8, py35, py36, py37, py38, check_codestyle, check_types

# required for PEP 517 (pyproject.toml-style) builds
isolated_build = true

[testenv]
deps =
Expand All @@ -23,6 +25,7 @@ commands =
check-manifest

[testenv:pep8]
# Temporary, for backwards compatibility with the BuildKite pipelines
skip_install = True
basepython = python3.5
deps =
Expand All @@ -40,3 +43,21 @@ deps =
commands =
coverage xml
codecov -X gcov

[testenv:check_codestyle]

extras = dev

commands =
flake8 ldap_auth_provider.py tests
black --check --diff ldap_auth_provider.py tests
isort --check-only --diff ldap_auth_provider.py tests

[testenv:check_types]

extras = dev

commands =
# mypy ldap_auth_provider.py tests
# tests currently do not pass
mypy ldap_auth_provider.py

0 comments on commit f39068a

Please sign in to comment.