Skip to content

Commit

Permalink
Bump to minimal Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas committed Dec 31, 2023
1 parent d037c32 commit 245b415
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
DEFAULT_PYTHON: "3.10"
DEFAULT_PYTHON: "3.11"

jobs:
ruff:
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
name: ☕️ Format using black
language: system
types: [python]
entry: black
entry: poetry run black
require_serial: true
- id: blacken-docs
name: ☕️ Format documentation examples using black
Expand All @@ -29,12 +29,12 @@ repos:
- id: check-case-conflict
name: 🔠 Check for case conflicts
language: system
entry: check-case-conflict
entry: poetry run check-case-conflict
- id: check-docstring-first
name: ℹ️ Check docstring is first
language: system
types: [python]
entry: check-docstring-first
entry: poetry run check-docstring-first
- id: check-json
name: { Check JSON files
language: system
Expand All @@ -59,7 +59,7 @@ repos:
name: ⮐ Fix End of Files
language: system
types: [text]
entry: end-of-file-fixer
entry: poetry run end-of-file-fixer
stages: [commit, push, manual]
- id: poetry
name: 📜 Check pyproject with Poetry
Expand All @@ -71,12 +71,12 @@ repos:
name: 🌟 Starring code with pylint
language: system
types: [python]
entry: pylint
entry: poetry run pylint
- id: trailing-whitespace
name: ✄ Trim Trailing Whitespace
language: system
types: [text]
entry: trailing-whitespace-fixer
entry: poetry run trailing-whitespace-fixer
stages: [commit, push, manual]
- id: yamllint
name: 🎗 Check YAML files with yamllint
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ manager.

You need at least:

- Python 3.10+
- Python 3.11+
- [Poetry][poetry-install]


Expand Down
60 changes: 4 additions & 56 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ packages = [

[tool.poetry.dependencies]
pymysql = "^1.1.0"
python = "^3.10"
python = "^3.11"
python-dotenv = "^1.0.0"
pytz = "^2023.3"

Expand Down

0 comments on commit 245b415

Please sign in to comment.