Skip to content

Commit

Permalink
Make the name generic now that it's used by multiple tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Sep 4, 2024
1 parent 5164965 commit 00dd41f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ repos:
hooks:
- id: trailing-whitespace
exclude: tests(/\w*)*/functional/t/trailing_whitespaces.py|tests/pyreverse/data/.*.html|doc/data/messages/t/trailing-whitespace/bad.py
# - id: file-contents-sorter # commented out because it does not preserve comments order
# args: ["--ignore-case", "--unique"]
# files: "custom_dict.txt"
- id: end-of-file-fixer
exclude: |
(?x)^(
Expand Down
8 changes: 4 additions & 4 deletions .pyenchant_pylint_custom_dict.txt → custom_dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ ascii
asend
assignattr
assignname
ast
AST
ast
astroid
async
asynccontextmanager
Expand Down Expand Up @@ -62,8 +62,8 @@ codecs
col's
conf
config
Const
const
Const
contextlib
contextmanager
contravariance
Expand Down Expand Up @@ -150,8 +150,8 @@ importfrom
importnode
importschecker
InferenceError
INI
ini
INI
init
initializer
inlinevar
Expand Down Expand Up @@ -365,8 +365,8 @@ unary
unflattens
unhandled
unicode
Uninferable
uninferable
Uninferable
unittest
unraisablehook
untriggered
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ ignore = [
convention = "pep257"

[tool.codespell]
ignore-words = [".pyenchant_pylint_custom_dict.txt"]
ignore-words = ["custom_dict.txt"]

# Disabled the spelling files for obvious reason, but also,
# the test file with typing extension imported as 'te' and:
Expand Down

0 comments on commit 00dd41f

Please sign in to comment.