Jelmer Vernooij 10 月之前
父節點
當前提交
fc76512f12
共有 3 個文件被更改,包括 8 次插入1 次删除
  1. 4 0
      .github/dependabot.yml
  2. 1 1
      .github/workflows/pythontest.yml
  3. 3 0
      pyproject.toml

+ 4 - 0
.github/dependabot.yml

@@ -12,3 +12,7 @@ updates:
     directory: "/"
     schedule:
       interval: weekly
+  - package-ecosystem: "pip"
+    directory: "/"
+    schedule:
+      interval: weekly    

+ 1 - 1
.github/workflows/pythontest.yml

@@ -37,7 +37,7 @@ jobs:
         if: "matrix.os != 'windows-latest' && matrix.python-version != 'pypy3'"
       - name: Style checks
         run: |
-          pip install --upgrade ruff
+          pip install ".[dev]"
           python -m ruff check .
           python -m ruff format --check .
       - name: Typing checks

+ 3 - 0
pyproject.toml

@@ -41,6 +41,9 @@ fastimport = ["fastimport"]
 https = ["urllib3>=1.24.1"]
 pgp = ["gpg"]
 paramiko = ["paramiko"]
+dev = [
+    "ruff==0.4.4"
+]
 
 [project.scripts]
 dulwich = "dulwich.cli:main"