Skip to content

Commit 8b06253

Browse files
codexByron
authored andcommitted
Keep root lint scoped to GitPython
1 parent b017b65 commit 8b06253

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
exclude: ^(?:gitdb|smmap)/
2+
13
repos:
24
- repo: https://github.com/codespell-project/codespell
35
rev: v2.4.2

test/test_submodule.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,8 +508,6 @@ def test_root_module(self, rwrepo):
508508
with rm.config_writer():
509509
pass
510510

511-
rsmsp = ["git/ext/gitdb", "gitdb/ext/smmap"]
512-
513511
# Cannot set the parent commit as root module's path didn't exist.
514512
self.assertRaises(ValueError, rm.set_parent_commit, "HEAD")
515513

0 commit comments

Comments
 (0)