ci: [pre-commit.ci] autoupdate (#146)

* ci: [pre-commit.ci] autoupdate

updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.149 → v0.0.161](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.149...v0.0.161)

* fix: fix linting

* style: add docstyle

* style: formatting

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Talley Lambert <talley.lambert@gmail.com>
This commit is contained in:
pre-commit-ci[bot]
2022-12-06 12:02:27 -05:00
committed by GitHub
parent 2cebc868a8
commit 6ce87d44a6
12 changed files with 33 additions and 27 deletions

View File

@@ -101,16 +101,15 @@ src = ["src","tests"]
extend-select = [
"E", # style errors
"F", # flakes
# "D", # pydocstyle
"I001", # isort
"D", # pydocstyle
"I", # isort
"U", # pyupgrade
# "N", # pep8-naming
# "S", # bandit
"S", # bandit
"C", # flake8-comprehensions
"B", # flake8-bugbear
"A001", # flake8-builtins
"RUF", # ruff-specific rules
"M001", # Unused noqa directive
]
extend-ignore = [
"D100", # Missing docstring in public module
@@ -125,9 +124,9 @@ extend-ignore = [
[tool.ruff.per-file-ignores]
"tests/*.py" = ["D"]
"tests/*.py" = ["D", "S101"]
"examples/demo_widget.py" = ["E501"]
"examples/*.py" = ["B"]
"examples/*.py" = ["B", "D"]
# https://docs.pytest.org/en/6.2.x/customize.html
[tool.pytest.ini_options]