Skip to content

Commit

Permalink
build: bump poetry.lock dependencies and pre-commit hooks (#384)
Browse files Browse the repository at this point in the history
Bump dependencies in `poetry.lock` and hooks in
`.pre-commit-config.yaml`.

---------

Co-authored-by: Charles Coggins <[email protected]>
  • Loading branch information
phylum-bot and maxrake authored Feb 6, 2024
1 parent 3f17b1d commit 6a2a638
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ repos:
- id: black

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: bbaf495f2dc6ce2853c91dc0b2c75d3b8249c15c # frozen: v0.1.15
rev: 1bd02b3569e3ac5cc66552b1336a96a8880d1bae # frozen: v0.2.1
hooks:
- id: ruff

Expand Down
89 changes: 45 additions & 44 deletions poetry.lock

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

8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ line-length = 120
target-version = "py39"
force-exclude = true
src = ["src", "tests"]

[tool.ruff.lint]
select = [
# Using `ALL` has the risk that new rules may be enabled when `ruff` is updated but updates are
# automated, with a PR that includes enforced QA checks, to weekly dependency and pre-commit hook bumps.
Expand Down Expand Up @@ -134,18 +136,18 @@ ignore = [
"FA", # flake8-future-annotations
]

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"test_*.py" = [
# It is expected to use `assert` statements in `pytest` test code
"S101", # assert
# `subprocess` input is controlled in test code
"S603", # subprocess-without-shell-equals-true
]

[tool.ruff.isort]
[tool.ruff.lint.isort]
force-sort-within-sections = true

[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
# Use PEP-257 style docstrings
convention = "pep257"

Expand Down

0 comments on commit 6a2a638

Please sign in to comment.