Skip to content

Commit f67ebc2

Browse files
authored
Merge branch 'main' into argparse
2 parents 92993cf + 4361764 commit f67ebc2

6 files changed

Lines changed: 25 additions & 32 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
fetch-depth: 0
2727
persist-credentials: false
2828

29-
- uses: hynek/build-and-inspect-python-package@d44ca7d91762de7a7d5436ddae667c6da6d1c3df # v2.18.0
29+
- uses: hynek/build-and-inspect-python-package@2abe76da66d0a6a4a227101f9348ee855797cfa5 # v3.0.1
3030

3131
# Publish to Test PyPI on every commit on main.
3232
release-test-pypi:
@@ -49,7 +49,7 @@ jobs:
4949
path: dist
5050

5151
- name: Publish to Test PyPI
52-
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
52+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
5353
with:
5454
repository-url: https://test.pypi.org/legacy/
5555

@@ -81,4 +81,4 @@ jobs:
8181
path: dist
8282

8383
- name: Publish to PyPI
84-
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
84+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2

‎.pre-commit-config.yaml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.15.11
3+
rev: v0.16.0
44
hooks:
55
- id: ruff-check
66
args: [--exit-non-zero-on-fix]
@@ -20,7 +20,7 @@ repos:
2020
- id: trailing-whitespace
2121

2222
- repo: https://github.com/python-jsonschema/check-jsonschema
23-
rev: 0.37.1
23+
rev: 0.37.4
2424
hooks:
2525
- id: check-dependabot
2626
- id: check-github-workflows
@@ -31,12 +31,12 @@ repos:
3131
- id: actionlint
3232

3333
- repo: https://github.com/zizmorcore/zizmor-pre-commit
34-
rev: v1.24.1
34+
rev: v1.28.0
3535
hooks:
3636
- id: zizmor
3737

3838
- repo: https://github.com/tox-dev/pyproject-fmt
39-
rev: v2.21.1
39+
rev: v2.25.3
4040
hooks:
4141
- id: pyproject-fmt
4242

@@ -46,7 +46,7 @@ repos:
4646
- id: validate-pyproject
4747

4848
- repo: https://github.com/tox-dev/tox-ini-fmt
49-
rev: 1.7.1
49+
rev: 1.8.0
5050
hooks:
5151
- id: tox-ini-fmt
5252

‎.ruff.toml‎

Lines changed: 0 additions & 16 deletions
This file was deleted.

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ The template for the `blurb add` message looks like this:
7878

7979
#
8080
# Uncomment one of these "section:" lines to specify which section
81-
# this entry should go in in Misc/NEWS.
81+
# this entry should go in Misc/NEWS.
8282
#
8383
#.. section: Security
8484
#.. section: Core and Builtins

‎pyproject.toml‎

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ requires = [
99
name = "blurb"
1010
description = "Command-line tool to manage CPython Misc/NEWS.d entries."
1111
readme = "README.md"
12-
maintainers = [
13-
{ name = "Python Core Developers", email = "core-workflow@mail.python.org" },
14-
]
12+
maintainers = [ { name = "Python Core Team" } ]
1513
authors = [
1614
{ name = "Larry Hastings", email = "larry@hastings.org" },
1715
]
@@ -27,9 +25,7 @@ classifiers = [
2725
"Programming Language :: Python :: 3.14",
2826
"Programming Language :: Python :: 3.15",
2927
]
30-
dynamic = [
31-
"version",
32-
]
28+
dynamic = [ "version" ]
3329
optional-dependencies.tests = [
3430
"pyfakefs",
3531
"pytest",
@@ -46,5 +42,18 @@ version.source = "vcs"
4642
version.raw-options.local_scheme = "no-local-version"
4743
build.hooks.vcs.version-file = "src/blurb/_version.py"
4844

45+
[tool.ruff]
46+
fix = true
47+
format.preview = true
48+
format.quote-style = "single"
49+
format.docstring-code-format = true
50+
lint.select = [
51+
"I", # isort
52+
]
53+
lint.ignore = [
54+
"E501", # Ignore line length errors (we use auto-formatting)
55+
]
56+
lint.preview = true
57+
4958
[tool.pyproject-fmt]
5059
max_supported_python = "3.15"

‎src/blurb/_template.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
#
1616
# Uncomment one of these "section:" lines to specify which section
17-
# this entry should go in in Misc/NEWS.d.
17+
# this entry should go in Misc/NEWS.d.
1818
#
1919
#.. section: Security
2020
#.. section: Core and Builtins

0 commit comments

Comments
 (0)