diff --git a/.github/actions/install_dependencies/action.yml b/.github/actions/install_dependencies/action.yml index ed53a3d..330746f 100644 --- a/.github/actions/install_dependencies/action.yml +++ b/.github/actions/install_dependencies/action.yml @@ -4,7 +4,7 @@ inputs: python_version: description: Version of python to prepare required: false - default: "3.11" + default: "3.12" runs: using: "composite" diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 51e993b..b148c3d 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - python_version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install_dependencies @@ -29,7 +29,7 @@ jobs: strategy: fail-fast: false matrix: - python_version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install_dependencies @@ -44,7 +44,7 @@ jobs: strategy: fail-fast: false matrix: - python_version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install_dependencies @@ -59,7 +59,7 @@ jobs: strategy: fail-fast: false matrix: - python_version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python_version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 - uses: ./.github/actions/install_dependencies diff --git a/README.md b/README.md index 1ed02ef..fb772e0 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,11 @@ Generate [GitLab Code Quality report](https://docs.gitlab.com/ee/ci/testing/code ## Usage ```bash -$ pydocstyle | PYTHONHASHSEED=0 pydocstyle-gitlab-code-quality +$ pydocstyle | pydocstyle-gitlab-code-quality ``` The output of this command is printed to `stdout` in JSON format, which can be used as Code Quality report. -Environment variable `PYTHONHASHSEED=0` prevents randomized hashes, which are used by GitLab to determine changes between branches on merge request. - ### Example `.gitlab-ci.yml` file ```yaml diff --git a/ci_requirements.txt b/ci_requirements.txt index f1934ae..c02b1e7 100644 --- a/ci_requirements.txt +++ b/ci_requirements.txt @@ -1,4 +1,4 @@ -black~=23.3.0 -isort[colors]~=5.11.0 -mypy~=1.4.1 -pylint~=2.17.4 +black~=23.11.0 +isort[colors]~=5.12.0 +mypy~=1.7.0 +pylint~=3.0.0 diff --git a/pyproject.toml b/pyproject.toml index a2c13c3..33719b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,12 @@ [project] name = "pydocstyle-gitlab-code-quality" -version = "0.0.2" +version = "0.0.3" authors = [ { name = "Aleksander Kluczka", email = "aleksander.kluczka@gmail.com" }, ] description = "Simple script to generate gitlab code quality report from output of pydocstyle." readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.8" license = { text = "MIT" } classifiers = [ "Development Status :: 3 - Alpha", @@ -14,11 +14,11 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] [project.urls]