Skip to content

Commit db395b2

Browse files
Update pre-commit hooks (#53)
1 parent ba7e744 commit db395b2

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,18 @@ repos:
1717
- id: check-added-large-files
1818

1919
- repo: https://github.com/psf/black
20-
rev: 23.1.0
20+
rev: 23.3.0
2121
hooks:
2222
- id: black
2323

24+
- repo: https://github.com/adamchainz/blacken-docs
25+
rev: 1.13.0
26+
hooks:
27+
- id: blacken-docs
28+
2429
- repo: https://github.com/charliermarsh/ruff-pre-commit
2530
# Ruff version.
26-
rev: "v0.0.239"
31+
rev: "v0.0.261"
2732
hooks:
2833
- id: ruff
2934

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ Source = "https://github.com/scientific-python/yaml2ics"
4141
exclude = ["tests/*"]
4242

4343
[tool.ruff]
44+
line-length = 88
45+
target-version = "py38"
4446
select = ["F", "E", "W", "I", "UP"]

0 commit comments

Comments
 (0)