Skip to content

Commit

Permalink
chore: clean up codespell (#682)
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii authored Apr 29, 2024
1 parent ff7b0e6 commit cc5d368
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 22 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ repos:
hooks:
- id: codespell
args: ["-w"]
additional_dependencies: [tomli]
exclude: "(^pyproject.toml|.po)$"

- repo: https://github.com/pre-commit/pygrep-hooks
rev: "v1.10.0"
Expand Down
7 changes: 0 additions & 7 deletions MANIFEST.in

This file was deleted.

2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def pylint(session):
Run pylint.
"""

session.install(".", "paramiko", "ipython", "pylint~=3.0.2")
session.install(".", "paramiko", "ipython", "pylint~=3.1.0")
session.run("pylint", "plumbum", *session.posargs)


Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,7 @@ flake8-unused-arguments.ignore-variadic-names = true
"plumbum/cli/application.py" = ["T20"]
"plumbum/commands/base.py" = ["SIM115"]
"plumbum/commands/daemons.py" = ["SIM115"]

[tool.codespell]
ignore-words-list = "ans,switchs,hart,ot,twoo,fo"
skip = "*.po"
14 changes: 0 additions & 14 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,3 @@ exclude_lines =
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:

[flake8]
max-complexity = 50
extend-ignore = E203, E501, T202
extend-select = B902, B903, B904
per-file-ignores =
tests/*: T
examples/*: T
experiments/*: T
plumbum/cli/application.py: T

[codespell]
ignore-words-list = ans,switchs,hart,ot,twoo,fo
skip = *.po

0 comments on commit cc5d368

Please sign in to comment.