Skip to content

Commit

Permalink
Bumps dependencies + python 3.12 (#28)
Browse files Browse the repository at this point in the history
* Bumps dependencies + python 3.12

* Docker syntax fix

* Adds setuptools for patreon
  • Loading branch information
Crossedfall authored Dec 3, 2024
1 parent bb66f85 commit ca0b81d
Show file tree
Hide file tree
Showing 5 changed files with 597 additions and 527 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Python setup
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
- name: Install poetry
run: |
python -m pip install -U poetry
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/psf/black
rev: b965c2a5026f8ba399283ba3e01898b012853c79 # frozen: 24.8.0
rev: 1b2427a2b785cc4aac97c19bb4b9a0de063f9547 # frozen: 24.10.0
hooks:
- id: black

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # frozen: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -15,13 +15,13 @@ repos:
language_version: python3

- repo: https://github.com/PyCQA/flake8
rev: e43806be3607110919eff72939fda031776e885a # frozen: 7.1.1
rev: cf1542cefa3e766670b2066dd75c4571d682a649 # frozen: 7.1.1
hooks:
- id: flake8
language_version: python3

- repo: https://github.com/asottile/reorder-python-imports
rev: e77caa8638839e934828a1968ce30a9ee4f3f509 # frozen: v3.13.0
rev: fd0b4e1292716bcd12a396b86af1d1271aaaa62c # frozen: v3.14.0
hooks:
- id: reorder-python-imports

Expand All @@ -33,7 +33,7 @@ repos:
- tomli

- repo: https://github.com/pre-commit/mirrors-mypy
rev: d4911cfb7f1010759fde68da196036feeb25b99d # frozen: v1.11.2
rev: f56614daa94d5cd733d3b7004c5df9caad267b4a # frozen: v1.13.0
hooks:
- id: mypy
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# For more information, please refer to https://aka.ms/vscode-docker-python
FROM python:3.11-alpine as base
FROM python:3.12-alpine AS base

# Keeps Python from generating .pyc files in the container
# Turns off buffering for easier container logging
Expand Down
Loading

0 comments on commit ca0b81d

Please sign in to comment.