File tree 4 files changed +46
-4
lines changed 4 files changed +46
-4
lines changed Original file line number Diff line number Diff line change
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
+
18
+ - name : Set up Python ${{ env.DEFAULT_PYTHON }}
19
+ id : python
20
+
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/*
Original file line number Diff line number Diff line change 11
11
args : [--fix=lf]
12
12
- id : debug-statements
13
13
- repo : https://github.com/astral-sh/ruff-pre-commit
14
- rev : " v0.6.9 "
14
+ rev : " v0.8.4 "
15
15
hooks :
16
16
- id : ruff
17
17
args : ["--fix"]
20
20
exclude : ^pylint_django/tests/input.*$
21
21
args : [--line-length=120]
22
22
- repo : https://github.com/tox-dev/pyproject-fmt
23
- rev : " 2.2.4 "
23
+ rev : " v2.5.0 "
24
24
hooks :
25
25
- id : pyproject-fmt
26
26
# https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version
Original file line number Diff line number Diff line change 9
9
10
10
- CI now tests against python 3.13
11
11
12
- Version 2.6.0
12
+
13
+ Version 2.6.1
13
14
-------------
14
15
15
16
NOTICE
30
31
31
32
- CI now tests against Django 5.1
32
33
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
+
33
39
Version 2.5.5 (14 May 2023)
34
40
---------------------------
35
41
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ requires = [ "poetry-core>=1" ]
6
6
[tool .poetry ]
7
7
name = " pylint-django"
8
8
version = " 2.7.0"
9
- readme = " README.rst"
10
9
description = " A Pylint plugin to help Pylint understand the Django web framework"
11
10
repository = " https://github.com/pylint-dev/pylint-django"
12
11
authors = [
" Carl Crowder <[email protected] >" ]
You can’t perform that action at this time.
0 commit comments