From 79390d4eea20ca15fd8e088345528f31ed5fad1e Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 21 Dec 2024 10:40:06 -0400 Subject: Upgrade to nixos-24.05 I think this is the only "supported" nixos version now. But in any case scipy seemed to be broken on the older version, and I couldn't build my code that uses llm. Also, this allows me to get rid of the bild.os-unstable thing for Beryllium, which was just a sitting timebomb of breaking stuff. There are a lot of changes here because ruff updated to the very latest, and it changed some minor lint things. Also with the new nixos I get a proper cgit module, and some other breaking changes needed fixing. --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 025e630..b15c40c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,9 @@ ignore = [ "CPY001", # missing-copyright-notice "D203", # no-blank-line-before-class "D212", # multi-line-summary-first-line + "DOC201", # docstring-missing-returns "E203", # whitespace-before-punctuation, doesn't work with ruff format + "EXE001", # shebang-not-executable, remove this when run.sh is working "INP001", # implicit-namespace-package "N999", # invalid-module-name "PLR0402", # manual-from-import, prefer imports like Haskell @@ -42,3 +44,5 @@ ignore = [ no-sections = true force-single-line = true +[tool.ruff.lint.pydocstyle] +convention = "pep257" -- cgit v1.2.3