Skip to content

Commit

Permalink
Update Ruff to 0.0.290
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Sep 17, 2023
1 parent f08a3a2 commit 5c98ccd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
- id: pretty-format-ini
args: [--autofix]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.0.289" # Must match requirements-dev.txt
rev: "v0.0.290" # Must match requirements-dev.txt
hooks:
- id: ruff
args: [--fix]
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
[tool.ruff]
target-version = "py39"
line-length = 120
select = ["ALL", "NURSERY"]
extend-fixable = ["NURSERY"]
select = ["ALL"]
preview = true
# https://beta.ruff.rs/docs/rules
ignore = [
###
Expand Down Expand Up @@ -71,6 +71,7 @@ ignore = [
"A", # Shadowing builtin names
"ICN001", # unconventional-import-alias
"N8", # Naming conventions
"PLR0904", # Too many public methods
"PLR0913", # Argument count
"PLW3201", # misspelled dunder method name
"PYI042", # CamelCase TypeAlias
Expand Down
2 changes: 1 addition & 1 deletion scripts/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Linters & Formatters
add-trailing-comma>=3.1.0 # Must match .pre-commit-config.yaml
autopep8>=2.0.4 # Must match .pre-commit-config.yaml
ruff>=0.0.289 # Ignore @override for bad-dunder-name # Must match .pre-commit-config.yaml
ruff>=0.0.290 # Ignore @override for bad-dunder-name # Must match .pre-commit-config.yaml
#
# Run `./scripts/designer.ps1` to quickly open the bundled Qt Designer.
# Can also be downloaded externally as a non-python package
Expand Down

0 comments on commit 5c98ccd

Please sign in to comment.