Name top-level exceptions as private variables · gitpython-developers/GitPython@2a0305b · GitHub
Skip to content

Commit 2a0305b

Browse files
committed
Name top-level exceptions as private variables
`exc` is private to the module. Naming it `_exc` eliminates a collision with the `exc` submodule (one which would not be observable at runtime due to the import failing, but which confuses linters).
1 parent e3bc5d1 commit 2a0305b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

git/__init__.py

Lines changed: 4 additions & 4 deletions

0 commit comments

Comments
 (0)