Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
build(deps-dev): bump ruff from 0.3.2 to 0.3.3 (#131)
Browse files Browse the repository at this point in the history
* build(deps-dev): bump ruff from 0.3.2 to 0.3.3

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@v0.3.2...v0.3.3)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* style(precommit): bump ruff to 0.3.3

* style(ruff): reorder rule selection of ruff

* style(ruff): fix lint

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: F-G Fernandez <[email protected]>
  • Loading branch information
dependabot[bot] and frgfm authored Mar 18, 2024
1 parent 1ac1830 commit 78f74cc
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 46 deletions.
4 changes: 1 addition & 3 deletions .github/verify_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ def parse_args():
)

parser.add_argument("pr", type=int, help="PR number")
args = parser.parse_args()

return args
return parser.parse_args()


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
- id: debug-statements
language_version: python3
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.3.2'
rev: 'v0.3.3'
hooks:
- id: ruff
args:
Expand Down
38 changes: 19 additions & 19 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 21 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ prometheus-fastapi-instrumentator = "^6.1.0"
optional = true

[tool.poetry.group.quality.dependencies]
ruff = "==0.3.2"
ruff = "==0.3.3"
mypy = "==1.9.0"
types-requests = ">=2.0.0"
types-passlib = ">=1.7.0"
Expand Down Expand Up @@ -68,37 +68,39 @@ preview = true

[tool.ruff.lint]
select = [
"F", # pyflakes
"E", # pycodestyle errors
"W", # pycodestyle warnings
# "D101", "D103", # pydocstyle missing docstring in public function/class
"D201","D202","D207","D208","D214","D215","D300","D301","D417", "D419", # pydocstyle
"F", # pyflakes
"I", # isort
"C4", # flake8-comprehensions
"B", # flake8-bugbear
"CPY", # flake8-copyright
"ISC", # flake8-implicit-str-concat
"PYI", # flake8-pyi
"NPY", # numpy
"PERF", # perflint
"RUF", # ruff specific
"PTH", # flake8-use-pathlib
"S", # flake8-bandit
"N", # pep8-naming
"T10", # flake8-debugger
"T20", # flake8-print
"PT", # flake8-pytest-style
"LOG", # flake8-logging
"SIM", # flake8-simplify
# "D101", "D103", # pydocstyle missing docstring in public function/class
"D201","D202","D207","D208","D214","D215","D300","D301","D417", "D419", # pydocstyle
"YTT", # flake8-2020
"ANN", # flake8-annotations
"ASYNC", # flake8-async
"S", # flake8-bandit
"BLE", # flake8-blind-except
"B", # flake8-bugbear
"A", # flake8-builtins
"COM", # flake8-commas
"CPY", # flake8-copyright
"C4", # flake8-comprehensions
"T10", # flake8-debugger
"ISC", # flake8-implicit-str-concat
"ICN", # flake8-import-conventions
"LOG", # flake8-logging
"PIE", # flake8-pie
"T20", # flake8-print
"PYI", # flake8-pyi
"PT", # flake8-pytest-style
"RET", # flake8-return
"SIM", # flake8-simplify
"ARG", # flake8-unused-arguments
"PTH", # flake8-use-pathlib
"PERF", # perflint
"NPY", # numpy
"FURB", # refurb
"RUF", # ruff specific
]
ignore = [
"E501", # line too long, handled by black
Expand Down
5 changes: 1 addition & 4 deletions scripts/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,7 @@ def parse_args():
)

parser.add_argument("--endpoint", type=str, default="http://localhost:5050/api/v1", help="the API endpoint")

args = parser.parse_args()

return args
return parser.parse_args()


if __name__ == "__main__":
Expand Down

0 comments on commit 78f74cc

Please sign in to comment.