Files
@ 6213bc1e5da9
Branch filter:
Location: NPO-Accounting/conservancy_beancount/setup.cfg - annotation
6213bc1e5da9
670 B
text/x-ini
reports: Add PeriodPostings class.
This is AccountPostings from the ledger report, cleaned up to be more
general.
This is AccountPostings from the ledger report, cleaned up to be more
general.
c5dd7984bcc1 c5dd7984bcc1 1caeb9a1a63d 1caeb9a1a63d 1caeb9a1a63d 70057fe38319 694630ca02fa 747ef25da618 1caeb9a1a63d e6894c2b4693 e6894c2b4693 e6894c2b4693 e6894c2b4693 1caeb9a1a63d 8dbe807efbb1 8dbe807efbb1 8dbe807efbb1 8dbe807efbb1 8dbe807efbb1 8dbe807efbb1 8dbe807efbb1 8dbe807efbb1 8dbe807efbb1 8dbe807efbb1 8dbe807efbb1 8dbe807efbb1 | [aliases]
test=pytest
typecheck=pytest --addopts="--mypy conservancy_beancount"
[mypy]
disallow_any_unimported = False
disallow_untyped_calls = False
disallow_untyped_defs = True
show_error_codes = True
strict_equality = True
warn_redundant_casts = True
warn_return_any = True
warn_unreachable = True
warn_unused_configs = True
[tox:tox]
envlist = py36,py37
[testenv]
# Beancount includes type declarations but not the `py.typed` flag file mypy
# is looking for to know that. Create it ourselves.
commands_pre = python -c 'import beancount, pathlib; pathlib.Path(beancount.__file__).with_name("py.typed").touch()'
commands =
./setup.py test
./setup.py typecheck
|