Skip to content

Commit

Permalink
Add codespell config and run it as part of CI check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami committed Jul 31, 2023
1 parent 2b1b3d4 commit 2ba6985
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,12 @@ ignore_errors = true

[tool.coverage.html]
directory = "coverage_html_report"


[tool.codespell]
skip = 'venvs,.venv,.git,build,*.egg-info,*.lock,libcloud/test/*/fixtures/*'
# fo - file object, hda - hda mount point, nd - node, doesnt - inside the path,
# ags - agreements
ignore-words-list = 'fo,hda,nd,doesnt,ags'
count = ''
quiet-level = 3
1 change: 1 addition & 0 deletions requirements-lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ black==23.7.0; python_version >= '3.7' and implementation_name == "cpython"
isort[pyproject]==5.12.0; python_version >= '3.8'
pyupgrade==3.3.1
rstcheck==6.1.2; python_version >= '3.7'
codespell==2.2.5

requests>=2.27.1
paramiko==3.3.1; platform_python_implementation != 'PyPy'
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ commands = flake8 --config ./.flake8 libcloud/
rstcheck --report-level warning README.rst
rstcheck --report-level warning CHANGES.rst
rstcheck --report-level warning CONTRIBUTING.rst
codespell libcloud/

[testenv:bandit]
deps =
Expand Down

0 comments on commit 2ba6985

Please sign in to comment.