Commit f6b40b7f authored by juga's avatar juga Committed by Georg Koppen
Browse files

fix: tests: Add codespell configuration

parent 41fa1480
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ install_requires =
[options.extras_require]
test =
  black
  codespell
  coverage
  flake8
  flake8-docstrings
@@ -78,6 +79,9 @@ max-line-length = 79
extend-ignore = E203, W503, D1, D2, D4
exclude = docs/*,sbws/_version.py,sbws/__init__.py,versioneer.py

[codespell]
skip = versioneer.py,sbws/_version.py,sbws/util/iso3166.py,tests/data,*.puml,*.svg,docs/build,docs/source/proposals,docs/source/torflow_aggr.rst

[coverage:run]
# Do not give error on empty __init__ files
omit = */__init__.py
+7 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@ envlist =
    black,
    isort,
    flake8,
    codespell,
    doc,
    stats

@@ -62,6 +63,12 @@ deps = flake8-docstrings
commands =
  flake8 sbws tests

[testenv:codespell]
skip_install = True
deps = codespell
commands =
  codespell sbws tests docs

[testenv:clean]
skip_install = True
deps = coverage