Files
@ 43548a1ac994
Branch filter:
Location: NPO-Accounting/conservancy_beancount/README.rst
43548a1ac994
955 B
text/x-rst
config: Fix mypy error for git.exc.
Error was:
conservancy_beancount/config.py:142: error: Trying to read deleted variable "exc"
Not entirely sure what's causing this, but since GitPython also imports the
exceptions at the root of the package with "from git.exc import *", we can
import them from there instead, which seems to appease mypy.
Error was:
conservancy_beancount/config.py:142: error: Trying to read deleted variable "exc"
Not entirely sure what's causing this, but since GitPython also imports the
exceptions at the root of the package with "from git.exc import *", we can
import them from there instead, which seems to appease mypy.