pylint 4.1.4, one job; focus_project deps

pylint's parallel mode pickles its AST with dill, which crashes on
Python 3.15 (no code.co_lnotab): every Python lib's pre-commit job
was red. Hook rev v4.0.8 -> v4.1.4 and --jobs=1, as leetcode_coach
already did. focus_project imports earned_time but never declared
it, so its CI tests failed at collection; pin earned-time 0.21.0.

Todo: fda71ed1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Krzysztof Rudnicki 2026-11-16 08:21:59 +01:00
parent de9d41d6f0
commit f21bfa7a5b
14 changed files with 48 additions and 24 deletions

View File

@ -103,13 +103,15 @@ repos:
- --disable-error-code=list-item
- repo: https://github.com/pylint-dev/pylint
rev: v4.0.8
rev: v4.1.4
hooks:
- id: pylint
args:
- --rcfile=crdt-sync/pyproject.toml
- --fail-under=10
- --jobs=4
# One process: with --jobs>1 pylint pickles its AST via dill, which
# dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16.
- --jobs=1
additional_dependencies:
- pytest
- requests

View File

@ -103,13 +103,15 @@ repos:
- --disable-error-code=list-item
- repo: https://github.com/pylint-dev/pylint
rev: v4.0.8
rev: v4.1.4
hooks:
- id: pylint
args:
- --rcfile=earned_time/pyproject.toml
- --fail-under=10
- --jobs=4
# One process: with --jobs>1 pylint pickles its AST via dill, which
# dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16.
- --jobs=1
additional_dependencies:
- pytest

View File

@ -101,13 +101,15 @@ repos:
- --disable-error-code=list-item
- repo: https://github.com/pylint-dev/pylint
rev: v4.0.8
rev: v4.1.4
hooks:
- id: pylint
args:
- --rcfile=feedback_inbox/pyproject.toml
- --fail-under=10
- --jobs=4
# One process: with --jobs>1 pylint pickles its AST via dill, which
# dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16.
- --jobs=1
additional_dependencies:
- pytest

View File

@ -101,18 +101,21 @@ repos:
- --disable-error-code=list-item
- repo: https://github.com/pylint-dev/pylint
rev: v4.0.8
rev: v4.1.4
hooks:
- id: pylint
args:
- --rcfile=focus_project/pyproject.toml
- --fail-under=10
- --jobs=4
# One process: with --jobs>1 pylint pickles its AST via dill, which
# dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16.
- --jobs=1
additional_dependencies:
- pytest
# Kept in step with pyproject.toml, so pylint resolves the crdt_sync
# imports instead of scoring every one of them as import-error.
- crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.11.1#subdirectory=crdt-sync
- earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.21.0#subdirectory=earned_time
- repo: https://github.com/PyCQA/bandit
rev: 1.9.4

View File

@ -8,7 +8,7 @@ version = "0.10.0"
description = "Time-boxed focus projects: replace chosen gates, pay a daily-minutes gate"
requires-python = ">=3.14"
# Stdlib only on purpose: guards import it from the system python.
dependencies = []
dependencies = ["earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.21.0#subdirectory=earned_time"]
[tool.setuptools.packages.find]
include = ["focus_project*"]

View File

@ -2,6 +2,7 @@
# floor is satisfied by anything newer, so it tells a checker nothing
# about whether this repo is actually current.
bandit[toml]==1.9.4
earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.21.0#subdirectory=earned_time
mypy==2.4.1
pre-commit==4.7.0
pylint==4.1.4

View File

@ -101,13 +101,15 @@ repos:
- --disable-error-code=list-item
- repo: https://github.com/pylint-dev/pylint
rev: v4.0.8
rev: v4.1.4
hooks:
- id: pylint
args:
- --rcfile=freedays/pyproject.toml
- --fail-under=10
- --jobs=4
# One process: with --jobs>1 pylint pickles its AST via dill, which
# dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16.
- --jobs=1
additional_dependencies:
- pytest
# Kept in step with pyproject.toml, so pylint resolves the crdt_sync

View File

@ -101,13 +101,15 @@ repos:
- --disable-error-code=list-item
- repo: https://github.com/pylint-dev/pylint
rev: v4.0.8
rev: v4.1.4
hooks:
- id: pylint
args:
- --rcfile=gatelock/pyproject.toml
- --fail-under=10
- --jobs=4
# One process: with --jobs>1 pylint pickles its AST via dill, which
# dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16.
- --jobs=1
additional_dependencies:
- pytest

View File

@ -101,13 +101,15 @@ repos:
- --disable-error-code=list-item
- repo: https://github.com/pylint-dev/pylint
rev: v4.0.8
rev: v4.1.4
hooks:
- id: pylint
args:
- --rcfile=holds/pyproject.toml
- --fail-under=10
- --jobs=4
# One process: with --jobs>1 pylint pickles its AST via dill, which
# dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16.
- --jobs=1
additional_dependencies:
- pytest
# Kept in step with pyproject.toml, so pylint resolves the crdt_sync

View File

@ -107,7 +107,7 @@ repos:
- --disable-error-code=list-item
- repo: https://github.com/pylint-dev/pylint
rev: v4.0.8
rev: v4.1.4
hooks:
- id: pylint
args:

View File

@ -105,13 +105,15 @@ repos:
- --disable-error-code=list-item
- repo: https://github.com/pylint-dev/pylint
rev: v4.0.8
rev: v4.1.4
hooks:
- id: pylint
args:
- --rcfile=music_theory/pyproject.toml
- --fail-under=10
- --jobs=4
# One process: with --jobs>1 pylint pickles its AST via dill, which
# dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16.
- --jobs=1
additional_dependencies:
- pytest
# numpy is a real runtime dependency; without it every module is an

View File

@ -101,13 +101,15 @@ repos:
- --disable-error-code=list-item
- repo: https://github.com/pylint-dev/pylint
rev: v4.0.8
rev: v4.1.4
hooks:
- id: pylint
args:
- --rcfile=omniroute_offload/pyproject.toml
- --fail-under=10
- --jobs=4
# One process: with --jobs>1 pylint pickles its AST via dill, which
# dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16.
- --jobs=1
additional_dependencies:
- pytest

View File

@ -101,13 +101,15 @@ repos:
- --disable-error-code=list-item
- repo: https://github.com/pylint-dev/pylint
rev: v4.0.8
rev: v4.1.4
hooks:
- id: pylint
args:
- --rcfile=sickdays/pyproject.toml
- --fail-under=10
- --jobs=4
# One process: with --jobs>1 pylint pickles its AST via dill, which
# dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16.
- --jobs=1
additional_dependencies:
- pytest
# Kept in step with pyproject.toml, so pylint resolves the crdt_sync

View File

@ -101,13 +101,15 @@ repos:
- --disable-error-code=list-item
- repo: https://github.com/pylint-dev/pylint
rev: v4.0.8
rev: v4.1.4
hooks:
- id: pylint
args:
- --rcfile=sql_drills/pyproject.toml
- --fail-under=10
- --jobs=4
# One process: with --jobs>1 pylint pickles its AST via dill, which
# dies on Python 3.15 (code objects lost co_lnotab), 2026-11-16.
- --jobs=1
additional_dependencies:
- pytest