Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#35)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/tox-dev/pyproject-fmt: 2.1.1 → 2.1.3](tox-dev/pyproject-fmt@2.1.1...2.1.3)
- [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.4.5](astral-sh/ruff-pre-commit@v0.4.4...v0.4.5)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored May 27, 2024
1 parent 5bc1a48 commit 3bef31e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.1.1"
rev: "2.1.3"
hooks:
- id: pyproject-fmt

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.4"
rev: "v0.4.5"
hooks:
- id: ruff
name: Ruff lint
Expand Down
17 changes: 9 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ line-length = 160
lint.select = [
"ALL",
]
lint.ignore = [
"ANN101", # missing-type-self
"COM812", # missing-trailing-comma
"DJ", # flake8-django
"FIX002", # line-contains-todo
"ISC001", # single-line-implicit-string-concatenation
"PD", # pandas-vet
]

lint.per-file-ignores."tests/*" = [
"ANN201", # missing-return-type-public-function
"S101", # assert
Expand All @@ -111,14 +120,6 @@ lint.isort.required-imports = [
"from __future__ import annotations",
]
lint.pydocstyle.convention = "google"
lint.ignore = [
"ANN101", # missing-type-self
"COM812", # missing-trailing-comma
"DJ", # flake8-django
"FIX002", # line-contains-todo
"ISC001", # single-line-implicit-string-concatenation
"PD", # pandas-vet
]

[tool.deptry.package_module_name_map]
mypy = "mypy"
Expand Down

0 comments on commit 3bef31e

Please sign in to comment.