Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.11
rev: v0.16.0
hooks:
- id: ruff-check
args: [--exit-non-zero-on-fix]
Expand All @@ -20,7 +20,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.37.1
rev: 0.37.4
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand All @@ -31,12 +31,12 @@ repos:
- id: actionlint

- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.24.1
rev: v1.28.0
hooks:
- id: zizmor

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.21.1
rev: v2.25.3
hooks:
- id: pyproject-fmt

Expand All @@ -46,7 +46,7 @@ repos:
- id: validate-pyproject

- repo: https://github.com/tox-dev/tox-ini-fmt
rev: 1.7.1
rev: 1.8.0
hooks:
- id: tox-ini-fmt

Expand Down
16 changes: 0 additions & 16 deletions .ruff.toml

This file was deleted.

19 changes: 15 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name = "blurb"
description = "Command-line tool to manage CPython Misc/NEWS.d entries."
readme = "README.md"
maintainers = [
{ name = "Python Core Developers", email = "core-workflow@mail.python.org" },
{ name = "Python Core Team", email = "core-workflow@mail.python.org" },
]
authors = [
{ name = "Larry Hastings", email = "larry@hastings.org" },
Expand All @@ -27,9 +27,7 @@ classifiers = [
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
]
dynamic = [
"version",
]
dynamic = [ "version" ]
optional-dependencies.tests = [
"pyfakefs",
"pytest",
Expand All @@ -46,5 +44,18 @@ version.source = "vcs"
version.raw-options.local_scheme = "no-local-version"
build.hooks.vcs.version-file = "src/blurb/_version.py"

[tool.ruff]
fix = true
format.preview = true
format.quote-style = "single"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thoughts on dropping this and using the default double?

format.docstring-code-format = true
lint.select = [
"I", # isort
]
lint.ignore = [
"E501", # Ignore line length errors (we use auto-formatting)
]
lint.preview = true

[tool.pyproject-fmt]
max_supported_python = "3.15"