Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit 346e6f3

Browse files
authored
Support Python 3.12 (#4)
1 parent 0238633 commit 346e6f3

File tree

5 files changed

+13
-15
lines changed

5 files changed

+13
-15
lines changed

.github/actions/install_dependencies/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
python_version:
55
description: Version of python to prepare
66
required: false
7-
default: "3.11"
7+
default: "3.12"
88

99
runs:
1010
using: "composite"

.github/workflows/quality.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python_version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
17+
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1818
steps:
1919
- uses: actions/checkout@v3
2020
- uses: ./.github/actions/install_dependencies
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python_version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
32+
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
3333
steps:
3434
- uses: actions/checkout@v3
3535
- uses: ./.github/actions/install_dependencies
@@ -44,7 +44,7 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
matrix:
47-
python_version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
47+
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
4848
steps:
4949
- uses: actions/checkout@v3
5050
- uses: ./.github/actions/install_dependencies
@@ -59,7 +59,7 @@ jobs:
5959
strategy:
6060
fail-fast: false
6161
matrix:
62-
python_version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
62+
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
6363
steps:
6464
- uses: actions/checkout@v3
6565
- uses: ./.github/actions/install_dependencies

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ Generate [GitLab Code Quality report](https://docs.gitlab.com/ee/ci/testing/code
1111
## Usage
1212

1313
```bash
14-
$ pydocstyle <file_path> | PYTHONHASHSEED=0 pydocstyle-gitlab-code-quality
14+
$ pydocstyle <file_path> | pydocstyle-gitlab-code-quality
1515
```
1616

1717
The output of this command is printed to `stdout` in JSON format, which can be used as Code Quality report.
1818

19-
Environment variable `PYTHONHASHSEED=0` prevents randomized hashes, which are used by GitLab to determine changes between branches on merge request.
20-
2119
### Example `.gitlab-ci.yml` file
2220

2321
```yaml

ci_requirements.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
black~=23.3.0
2-
isort[colors]~=5.11.0
3-
mypy~=1.4.1
4-
pylint~=2.17.4
1+
black~=23.11.0
2+
isort[colors]~=5.12.0
3+
mypy~=1.7.0
4+
pylint~=3.0.0

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
[project]
22
name = "pydocstyle-gitlab-code-quality"
3-
version = "0.0.2"
3+
version = "0.0.3"
44
authors = [
55
{ name = "Aleksander Kluczka", email = "[email protected]" },
66
]
77
description = "Simple script to generate gitlab code quality report from output of pydocstyle."
88
readme = "README.md"
9-
requires-python = ">=3.7"
9+
requires-python = ">=3.8"
1010
license = { text = "MIT" }
1111
classifiers = [
1212
"Development Status :: 3 - Alpha",
1313
"Environment :: Console",
1414
"License :: OSI Approved :: MIT License",
1515
"Operating System :: OS Independent",
1616
"Programming Language :: Python :: 3",
17-
"Programming Language :: Python :: 3.7",
1817
"Programming Language :: Python :: 3.8",
1918
"Programming Language :: Python :: 3.9",
2019
"Programming Language :: Python :: 3.10",
2120
"Programming Language :: Python :: 3.11",
21+
"Programming Language :: Python :: 3.12",
2222
]
2323

2424
[project.urls]

0 commit comments

Comments
 (0)