Skip to content

Commit

Permalink
bump black and ruff versions
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneselvans committed Oct 19, 2023
1 parent c99db62 commit a19c402
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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 and RST 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]

# Deterministic python formatting:
- repo: https://github.com/psf/black
rev: 23.9.1
rev: 23.10.0
hooks:
- id: black
language_version: python3.10
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ xbrl_extract = "ferc_xbrl_extractor.cli:main"
dev = [
"black>=22.0,<23.11", # A deterministic code formatter
"build>=1.0,<1.1",
"ruff>=0.0.289", # A very fast linter and autofixer
"ruff>=0.1,<0.2", # A very fast linter and autofixer
"tox>=4.0,<4.12", # Python test environment manager
"twine>=3.3,<4.1", # Used to make releases to PyPI
]
Expand All @@ -91,7 +91,7 @@ tests = [
"pytest-console-scripts>=1.1,<1.5", # Allow automatic testing of scripts
"pytest-cov>=2.10,<4.2", # Pytest plugin for working with coverage
"pytest-mock>=3.0,<3.12",
"ruff>=0.0.289", # A very fast linter and autofixer
"ruff>=0.1,<0.2", # A very fast linter and autofixer
"tox>=4.0,<4.12", # Python test environment manager
]
types = [
Expand Down

0 comments on commit a19c402

Please sign in to comment.