Skip to content

Commit

Permalink
More fine tuning of ruff and pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
egparedes committed Jun 12, 2024
1 parent 1928b95 commit 9909f6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ repos:
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
- id: name-tests-test
args: [--pytest-test-first]
- id: requirements-txt-fixer
- id: trailing-whitespace

Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ ignore = [
"E501", # [line-too-long]
"TCH003", # [typing-only-standard-library-import]
"TD003", # [missing-todo-link]
"TRY003", # [raise-vanilla-args] # TODO(egparedes): reevaluate if it should be activated
"UP038", # [non-pep604-isinstance]
]
task-tags = ["TODO"]
Expand Down Expand Up @@ -235,3 +236,6 @@ max-doc-length = 88
[tool.ruff.lint.pydocstyle]
convention = "google"
ignore-decorators = ["typing.overload"]

[tool.ruff.lint.pylint]
max-positional-args = 6

0 comments on commit 9909f6d

Please sign in to comment.