ZipLime commited on
Commit
d1a56ee
·
verified ·
1 Parent(s): 3ee7201

Pin the linter that gates publication

Browse files

The job header asked for ruff>=0.11,<1, which is whatever ruff released this morning. A new minor added RUF100, four previously clean noqa directives became errors, and fund-holdings-nport published nothing for seventeen days; the same morning could have stopped all fifteen datasets at once. The version is now chosen deliberately, and upgrading it is a commit where somebody also fixes whatever it finds.

Files changed (2) hide show
  1. jobs/run.py +1 -1
  2. pyproject.toml +1 -1
jobs/run.py CHANGED
@@ -8,7 +8,7 @@
8
  # "huggingface-hub>=1.19,<2",
9
  # "pytest>=8,<9",
10
  # "pytest-asyncio>=0.24,<1",
11
- # "ruff>=0.11,<1",
12
  # "pyyaml>=6,<7",
13
  # ]
14
  # ///
 
8
  # "huggingface-hub>=1.19,<2",
9
  # "pytest>=8,<9",
10
  # "pytest-asyncio>=0.24,<1",
11
+ # "ruff==0.16.5",
12
  # "pyyaml>=6,<7",
13
  # ]
14
  # ///
pyproject.toml CHANGED
@@ -21,7 +21,7 @@ dependencies = [
21
  dev = [
22
  "pytest>=8,<9",
23
  "pytest-asyncio>=0.24,<1",
24
- "ruff>=0.11,<1",
25
  "pyyaml>=6,<7",
26
  ]
27
  publish = ["huggingface-hub>=1.19,<2"]
 
21
  dev = [
22
  "pytest>=8,<9",
23
  "pytest-asyncio>=0.24,<1",
24
+ "ruff==0.16.5",
25
  "pyyaml>=6,<7",
26
  ]
27
  publish = ["huggingface-hub>=1.19,<2"]