Skip to content

Commit 1636400

Browse files
[pre-commit.ci] pre-commit autoupdate (#58)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.3](astral-sh/ruff-pre-commit@v0.5.7...v0.6.3) * Small update to ruff configurations * Update pre-commit hooks --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Daniel Mizsak <62774880+daniel-mizsak@users.noreply.github.com>
1 parent 966a054 commit 1636400

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ repos:
2525

2626
# gitleaks
2727
- repo: https://github.com/gitleaks/gitleaks
28-
rev: v8.18.4
28+
rev: v8.19.2
2929
hooks:
3030
- id: gitleaks
3131

3232
# ruff
3333
- repo: https://github.com/astral-sh/ruff-pre-commit
34-
rev: v0.5.7
34+
rev: v0.6.6
3535
hooks:
3636
# Ruff linting
3737
- id: ruff

ruff.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Exclude a variety of commonly ignored directories.
22
# exclude = [""]
33

4+
src = ["src", "test"]
45
line-length = 120
56
indent-width = 4
67

@@ -26,6 +27,7 @@ target-version = "py311"
2627
"ANN201", # missing-return-type-undocumented-public-function
2728
"D", # pydocstyle
2829
"PLR2004", # magic-value-comparison
30+
"PT001", # pytest-fixture-incorrect-parentheses-style
2931
"S101", # assert
3032
]
3133
[lint.pydocstyle]

src/pythonvilag_website/modules/private_lecture_automation/routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@author "Daniel Mizsak" <info@pythonvilag.hu>
55
"""
66

7-
from flask import flash, render_template, request # noqa: I001
7+
from flask import flash, render_template, request
88

99
from pythonvilag_website import app, csrf
1010
from pythonvilag_website.modules.private_lecture_automation.forms import PrivateLectureInfoForm

0 commit comments

Comments
 (0)