Skip to content

Commit 11283bd

Browse files
Merge branch 'master' into add-support-for-python-3.13
2 parents 7f08f12 + 91a977a commit 11283bd

File tree

4 files changed

+46
-4
lines changed

4 files changed

+46
-4
lines changed

.github/workflows/release.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Release
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
env:
9+
DEFAULT_PYTHON: 3.12
10+
11+
jobs:
12+
release-pypi:
13+
name: Upload release to PyPI
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Check out code from Github
17+
uses: actions/[email protected]
18+
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
19+
id: python
20+
uses: actions/[email protected]
21+
with:
22+
python-version: ${{ env.DEFAULT_PYTHON }}
23+
- name: Install requirements
24+
run: |
25+
python -m pip install --disable-pip-version-check -U pip twine poetry "poetry-core<1.3.0"
26+
- name: Build distributions
27+
run: |
28+
poetry build -f wheel
29+
poetry build -f sdist
30+
- name: Upload to PyPI
31+
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags')
32+
env:
33+
TWINE_REPOSITORY: pypi
34+
TWINE_USERNAME: __token__
35+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
36+
run: |
37+
twine upload --verbose dist/*

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
args: [--fix=lf]
1212
- id: debug-statements
1313
- repo: https://github.com/astral-sh/ruff-pre-commit
14-
rev: "v0.6.9"
14+
rev: "v0.8.4"
1515
hooks:
1616
- id: ruff
1717
args: ["--fix"]
@@ -20,7 +20,7 @@ repos:
2020
exclude: ^pylint_django/tests/input.*$
2121
args: [--line-length=120]
2222
- repo: https://github.com/tox-dev/pyproject-fmt
23-
rev: "2.2.4"
23+
rev: "v2.5.0"
2424
hooks:
2525
- id: pyproject-fmt
2626
# https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version

CHANGELOG.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ Other
99

1010
- CI now tests against python 3.13
1111

12-
Version 2.6.0
12+
13+
Version 2.6.1
1314
-------------
1415

1516
NOTICE
@@ -30,6 +31,11 @@ Other
3031

3132
- CI now tests against Django 5.1
3233

34+
Version 2.6.0 (09 Oct. 2024)
35+
----------------------------
36+
37+
Not released for lack of a release pipeline at the time the tag was created.
38+
3339
Version 2.5.5 (14 May 2023)
3440
---------------------------
3541

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ requires = [ "poetry-core>=1" ]
66
[tool.poetry]
77
name = "pylint-django"
88
version = "2.7.0"
9-
readme = "README.rst"
109
description = "A Pylint plugin to help Pylint understand the Django web framework"
1110
repository = "https://github.com/pylint-dev/pylint-django"
1211
authors = [ "Carl Crowder <[email protected]>" ]

0 commit comments

Comments
 (0)