Skip to content

🐛 Fix issues with nix 25.11 compatiblity#44

Draft
Eiken wants to merge 10 commits into
mainfrom
mini-glot-fixes
Draft

🐛 Fix issues with nix 25.11 compatiblity#44
Eiken wants to merge 10 commits into
mainfrom
mini-glot-fixes

Conversation

@Eiken
Copy link
Copy Markdown
Member

@Eiken Eiken commented Mar 10, 2026

Disable checks for pylint and mypy which errors and rely on them being correct as they are.
Ensure correct name for sphinx-rtd-theme that has changed from its old name sphinx_rtd_theme

@abbec abbec force-pushed the mini-glot-fixes branch 2 times, most recently from 84b0fa7 to 3a5b51a Compare April 28, 2026 13:04
@abbec abbec force-pushed the mini-glot-fixes branch from e9544cb to dab2655 Compare May 27, 2026 10:38
Ensure correct name for sphinx-rtd-theme that has changed from its
old name sphinx_rtd_theme
@abbec abbec force-pushed the mini-glot-fixes branch from dab2655 to 7b8f616 Compare June 4, 2026 19:58
simonrainerson and others added 8 commits June 4, 2026 21:59
The select key should be in the lint dict.
The nixpkgs derivation for pylsp-ruff burns the ruff exe into the code.
Make it use our wrapped version of ruff with our configs.

Also introduce an env var NEDRYGLOT_NO_LINT_CONFIG which if set, skips
our config when running the linter tools (ruff, mypy, pytest etc.)
When pytest starts it traverses directories from the current directory
to the directory of the config file. If any of these directories were
unreadable by the current user it would cause a permission error. We
workd around this by setting --confcutdir to cut off the conf dir
walking as we will put the generated config in a temp directory which
could be far away from the current directory.
When doing builds in Nix, the source is copied out without the .git
folder. The ignore crate (used by Ruff) will then skip using
.gitignore files. This patches ruff to disable that feature
in ignore.
Function to be able to call package with overrides like in nixpkgs.
@abbec abbec force-pushed the mini-glot-fixes branch from 7b8f616 to 7ac7cd8 Compare June 4, 2026 20:38
Update the github workflows.
@abbec abbec force-pushed the mini-glot-fixes branch from 7ac7cd8 to 17715b7 Compare June 4, 2026 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants