Skip to content

Commit

Permalink
Merge pull request #2952 from catalyst-cooperative/ruff-v0.1
Browse files Browse the repository at this point in the history
Bump versions for ruff & black
  • Loading branch information
zaneselvans authored Oct 19, 2023
2 parents a6260d1 + 0cac4e2 commit a74a191
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ repos:
# Formatters: hooks that re-write Python & documentation files
####################################################################################
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.292
rev: v0.1.0
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]

# Format the code
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.9.1
rev: 23.10.0
hooks:
- id: black
language_version: python3.11
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ pudl_check_fks = "pudl.etl.check_foreign_keys:main"

[project.optional-dependencies]
dev = [
"black>=22,<23.10",
"black>=23,<23.11",
"build>=1,<1.1",
"ipdb>=0.13,<0.14",
"jedi>=0.18,<0.20",
"lxml>=4.6,<4.10",
"ruff>=0.0.287",
"ruff>=0.1,<0.2",
"tox>=4,<4.12",
"twine>=4,<4.1",
]
Expand All @@ -148,7 +148,7 @@ test = [
"pytest-mock>=3,<3.12",
"pytest>=7,<7.5",
"responses>=0.14,<0.24",
"ruff>=0.0.287",
"ruff>=0.1,<0.2",
"tox>=4,<4.12",
]
datasette = ["datasette>=0.60,<0.65"]
Expand Down

0 comments on commit a74a191

Please sign in to comment.