Skip to content

Commit

Permalink
add codespell and codespell configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Jan 3, 2024
1 parent d6dd420 commit e648a7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ dependencies:
- blackdoc
- bump-my-version
- cairosvg
- codespell
- coverage
- distributed >=2.0
- filelock
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ dev = [
"black >=23.3.0",
"blackdoc",
"bump-my-version",
"codespell",
"coverage[toml]",
"flake8",
"flake8-alphabetize",
Expand Down Expand Up @@ -147,6 +148,10 @@ values = [
"release"
]

[tool.codespell]
skip = './xclim/data/*.json,./docs/_build,./docs/notebooks/xclim_training,./docs/references.bib,__pycache__,*.nc,*.png,*.gz,*.whl'
ignore-words-list = "absolue,astroid,bloc,bui,callendar,degreee,environnement,hanel,inferrable,lond,nam,nd,ressources,vas"

[tool.coverage.run]
relative_files = true
omit = ["tests/*.py"]
Expand Down

0 comments on commit e648a7d

Please sign in to comment.