forked from admin/brencher
@@ -17,7 +17,13 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.11"]
|
||||
python-version: [
|
||||
"3.11",
|
||||
"3.12.3",
|
||||
"3.13",
|
||||
"3.14",
|
||||
# "3.15",
|
||||
]
|
||||
checker: [
|
||||
"flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics",
|
||||
"flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics",
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
# Use official Python image with uv pre-installed
|
||||
FROM python:3.11-slim
|
||||
FROM python:3.12.3-slim
|
||||
|
||||
# Install uv (if not present)
|
||||
RUN pip install uv
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[mypy]
|
||||
# Specify Python version
|
||||
python_version = 3.11
|
||||
python_version = 3.12
|
||||
|
||||
# Import discovery
|
||||
mypy_path = backend
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
name = "brencher"
|
||||
version = "0.1.0"
|
||||
description = "Brencher project"
|
||||
requires-python = ">=3.9"
|
||||
requires-python = ">=3.12.3"
|
||||
|
||||
[tool.pyright]
|
||||
reportMissingModuleSource = false
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
"extraPaths": [
|
||||
"backend"
|
||||
],
|
||||
"pythonVersion": "3.11",
|
||||
"pythonVersion": "3.12",
|
||||
"pythonPlatform": "Linux",
|
||||
"typeCheckingMode": "basic",
|
||||
"reportMissingImports": true,
|
||||
|
||||
+2
-2
@@ -65,7 +65,7 @@ This script will:
|
||||
|
||||
### Option 2: Run Locally
|
||||
|
||||
If you prefer to run tests locally (requires Python 3.11+ and git):
|
||||
If you prefer to run tests locally (requires Python 3.12.3+ and git):
|
||||
|
||||
```bash
|
||||
# Install dependencies
|
||||
@@ -108,7 +108,7 @@ These tests are integrated into the CI pipeline through the `python-package.yml`
|
||||
|
||||
## Dependencies
|
||||
|
||||
- Python 3.11+
|
||||
- Python 3.12.3+
|
||||
- pytest
|
||||
- gitpython
|
||||
- git (system package)
|
||||
|
||||
Reference in New Issue
Block a user