File tree Expand file tree Collapse file tree 4 files changed +46
-4
lines changed Expand file tree Collapse file tree 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 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"]
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
Original file line number Diff line number Diff line change 99
1010- CI now tests against python 3.13
1111
12- Version 2.6.0
12+
13+ Version 2.6.1
1314-------------
1415
1516NOTICE
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+
3339Version 2.5.5 (14 May 2023)
3440---------------------------
3541
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ requires = [ "poetry-core>=1" ]
66[tool .poetry ]
77name = " pylint-django"
88version = " 2.7.0"
9- readme = " README.rst"
109description = " A Pylint plugin to help Pylint understand the Django web framework"
1110repository = " https://github.com/pylint-dev/pylint-django"
1211authors = [
" Carl Crowder <[email protected] >" ]
You can’t perform that action at this time.
0 commit comments