@theglitchking/gimme-the-lint 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/README.md +2 -2
- package/lib/venv-manager.js +2 -2
- package/package.json +1 -1
- package/scripts/setup-venv.sh +3 -3
- package/templates/requirements.linting.txt +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.0.1] - 2026-02-03
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- Updated Python minimum version from 3.8 to 3.11
|
|
12
|
+
- Updated GitHub Action defaults: Node.js 20 → 22, Python 3.11 → 3.13
|
|
13
|
+
- Updated Python dependency floors: ruff >=0.9.0, mypy >=1.15.0, pytest >=9.0.0, pytest-asyncio >=1.0.0, pytest-cov >=7.0.0
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- Documentation guides in `.documentation/`: installation, when-to-use, how-to-use, troubleshooting
|
|
17
|
+
|
|
8
18
|
## [1.0.0] - 2026-02-03
|
|
9
19
|
|
|
10
20
|
### Added
|
package/README.md
CHANGED
|
@@ -156,8 +156,8 @@ jobs:
|
|
|
156
156
|
| `fix` | `false` | Auto-fix violations |
|
|
157
157
|
| `frontend` | `true` | Enable ESLint checks |
|
|
158
158
|
| `backend` | `true` | Enable Ruff checks |
|
|
159
|
-
| `python-version` | `3.
|
|
160
|
-
| `node-version` | `
|
|
159
|
+
| `python-version` | `3.13` | Python version for backend |
|
|
160
|
+
| `node-version` | `22` | Node.js version |
|
|
161
161
|
| `comment-on-pr` | `true` | Post results as PR comment |
|
|
162
162
|
|
|
163
163
|
### Action Outputs
|
package/lib/venv-manager.js
CHANGED
|
@@ -9,7 +9,7 @@ function getPythonCmd() {
|
|
|
9
9
|
try {
|
|
10
10
|
const version = execSync(`${cmd} --version`, { encoding: 'utf8' }).trim();
|
|
11
11
|
const match = version.match(/(\d+)\.(\d+)/);
|
|
12
|
-
if (match && parseInt(match[1]) >= 3 && parseInt(match[2]) >=
|
|
12
|
+
if (match && parseInt(match[1]) >= 3 && parseInt(match[2]) >= 11) {
|
|
13
13
|
return { cmd, version };
|
|
14
14
|
}
|
|
15
15
|
} catch {
|
|
@@ -32,7 +32,7 @@ function isVenvActive(projectRoot) {
|
|
|
32
32
|
function createVenv(projectRoot) {
|
|
33
33
|
const python = getPythonCmd();
|
|
34
34
|
if (!python) {
|
|
35
|
-
throw new Error('Python 3.
|
|
35
|
+
throw new Error('Python 3.11+ not found. Please install Python 3.11 or later.');
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
const venvPath = getVenvPath(projectRoot);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theglitchking/gimme-the-lint",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Progressive linting system with directory-chunked baselines, drift detection, and auto-healing for monorepo projects (Python + JS/TS)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"linting",
|
package/scripts/setup-venv.sh
CHANGED
|
@@ -26,7 +26,7 @@ for cmd in python3 python; do
|
|
|
26
26
|
VERSION=$("$cmd" --version 2>&1 | grep -oP '\d+\.\d+')
|
|
27
27
|
MAJOR=$(echo "$VERSION" | cut -d'.' -f1)
|
|
28
28
|
MINOR=$(echo "$VERSION" | cut -d'.' -f2)
|
|
29
|
-
if [ "$MAJOR" -ge 3 ] && [ "$MINOR" -ge
|
|
29
|
+
if [ "$MAJOR" -ge 3 ] && [ "$MINOR" -ge 11 ]; then
|
|
30
30
|
PYTHON_CMD="$cmd"
|
|
31
31
|
break
|
|
32
32
|
fi
|
|
@@ -34,8 +34,8 @@ for cmd in python3 python; do
|
|
|
34
34
|
done
|
|
35
35
|
|
|
36
36
|
if [ -z "$PYTHON_CMD" ]; then
|
|
37
|
-
echo -e "${RED}✗ Python 3.
|
|
38
|
-
echo " Please install Python 3.
|
|
37
|
+
echo -e "${RED}✗ Python 3.11+ not found${NC}"
|
|
38
|
+
echo " Please install Python 3.11 or later."
|
|
39
39
|
exit 1
|
|
40
40
|
fi
|
|
41
41
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
# Installed into .venv during setup
|
|
3
3
|
|
|
4
4
|
# Linting
|
|
5
|
-
ruff>=0.
|
|
6
|
-
mypy>=1.
|
|
5
|
+
ruff>=0.9.0
|
|
6
|
+
mypy>=1.15.0
|
|
7
7
|
|
|
8
8
|
# Testing (for pre-push validation)
|
|
9
|
-
pytest>=
|
|
10
|
-
pytest-asyncio>=0.
|
|
11
|
-
pytest-cov>=
|
|
9
|
+
pytest>=9.0.0
|
|
10
|
+
pytest-asyncio>=1.0.0
|
|
11
|
+
pytest-cov>=7.0.0
|