Skip to content

Commit

Permalink
configure
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Sep 22, 2023
1 parent 0d7d6c7 commit d416473
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ repos:
args: [--py38-plus]
name: Upgrade code

- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
hooks:
- id: codespell
additional_dependencies: [tomli]

- repo: https://github.com/PyCQA/docformatter
rev: v1.7.5
hooks:
Expand Down
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ wrap-summaries = 120
wrap-descriptions = 120
blank = true

[tool.codespell]
#skip = '*.py'
# comma separated list of words; waiting for:
# https://github.com/codespell-project/codespell/issues/2839#issuecomment-1731601603
ignore-words-list = "ROUGE, MAPE, fpr"
count = ''
quiet-level = 3


[tool.ruff]
line-length = 120
Expand Down

0 comments on commit d416473

Please sign in to comment.