Skip to content

Commit

Permalink
Merge pull request #40 from saritasa-nest/feature/update-python
Browse files Browse the repository at this point in the history
Confirm support for python 3.12
  • Loading branch information
TheSuperiorStanislav authored Nov 9, 2023
2 parents 9557635 + 4180beb commit daa0e16
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 68 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
Expand All @@ -25,7 +25,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1.3.4
uses: snok/install-poetry@v1
with:
version: latest
virtualenvs-create: true
Expand Down
12 changes: 7 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-yaml
- id: check-toml
Expand Down Expand Up @@ -35,9 +35,6 @@ repos:
# A plugin for Flake8 finding likely bugs and design problems in your program.
# https://github.com/PyCQA/flake8-bugbear
flake8-bugbear,
# Extension to enforce better comma placement.
# https://github.com/PyCQA/flake8-commas
flake8-commas,
# A flake8 plugin checking common style issues or inconsistencies with pytest-based tests.
# https://github.com/m-burst/flake8-pytest-style
flake8-pytest-style,
Expand All @@ -58,8 +55,13 @@ repos:
mccabe,
]

- repo: https://github.com/asottile/add-trailing-comma
rev: v3.1.0
hooks:
- id: add-trailing-comma

- repo: https://github.com/psf/black
rev: 23.9.1
rev: 23.10.1
hooks:
- id: black
language_version: python3
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ We follow [Semantic Versions](https://semver.org/).
## unreleased

- Add `django.startapp` invocation.
- Confirm support for python 3.12.

## 0.8.3

Expand Down
86 changes: 31 additions & 55 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ env_settings = ["python-decouple"]
[tool.poetry.group.dev.dependencies]
# Improved REPL
ipdb = "^0.13.13"
ipython = "^8.14.0"
ipython = "^8.16.1"
# A framework for managing and maintaining multi-language pre-commit hooks.
# https://pre-commit.com/
pre-commit = "^3.3.3"
pre-commit = "^3.5.0"

[tool.poetry.group.linters.dependencies]
# Flake dependencies are added so that VSCode extension for flake8
Expand All @@ -64,9 +64,6 @@ flake8 = "^6.1.0"
# A plugin for Flake8 finding likely bugs and design problems in your program.
# https://github.com/PyCQA/flake8-bugbear
flake8-bugbear = "^23.9.16"
# Extension to enforce better comma placement.
# https://github.com/PyCQA/flake8-commas
flake8-commas = "^2.1.0"
# A flake8 plugin that warn about backslashes usage.
# https://github.com/wemake-services/flake8-broken-line
flake8-broken-line = "^1.0.0"
Expand All @@ -85,7 +82,7 @@ mccabe = "^0.7.0"

# Mypy is a static type checker for Python.
# https://mypy.readthedocs.io/en/stable/
mypy = "^1.5.1"
mypy = "^1.6.1"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit daa0e16

Please sign in to comment.