Files
@ 552ef45f47df
Branch filter:
Location: NPO-Accounting/conservancy_beancount/setup.py - annotation
552ef45f47df
849 B
text/x-python
plugin: Be more selective about when ! skips validation.
It makes sense to let the bookkeeper skip validations in situations
where the metadata requires information that might not be available
when entered. It does not make sense to skip validations that *must*
be available and affect the structure of the books, like project and
entity.
This commit ensures every plugin hook has a test for flagged
transactions, even for hooks that currently have the desired
behavior where no code changes were required for the test to
pass.
It makes sense to let the bookkeeper skip validations in situations
where the metadata requires information that might not be available
when entered. It does not make sense to skip validations that *must*
be available and affect the structure of the books, like project and
entity.
This commit ensures every plugin hook has a test for flagged
transactions, even for hooks that currently have the desired
behavior where no code changes were required for the test to
pass.
c5dd7984bcc1 c5dd7984bcc1 c5dd7984bcc1 c5dd7984bcc1 c5dd7984bcc1 c5dd7984bcc1 c5dd7984bcc1 47235f694c3d c5dd7984bcc1 c5dd7984bcc1 c5dd7984bcc1 c5dd7984bcc1 c5dd7984bcc1 c5dd7984bcc1 18a513a69415 499f18ff623c f09f029fc4cb c5dd7984bcc1 1caeb9a1a63d 1caeb9a1a63d 1caeb9a1a63d 1caeb9a1a63d 1caeb9a1a63d 1caeb9a1a63d 1caeb9a1a63d 1caeb9a1a63d c5dd7984bcc1 dcbac5db9833 dcbac5db9833 dcbac5db9833 dcbac5db9833 dcbac5db9833 ad81c45f2a7a ad81c45f2a7a ad81c45f2a7a ad81c45f2a7a ad81c45f2a7a c5dd7984bcc1 | #!/usr/bin/env python3
from setuptools import setup
setup(
name='conservancy_beancount',
description="Plugin, library, and reports for reading Conservancy's books",
version='1.0.5',
author='Software Freedom Conservancy',
author_email='info@sfconservancy.org',
license='GNU AGPLv3+',
install_requires=[
'beancount>=2.2',
'PyYAML>=3.0',
'regex',
'rt>=2.0',
],
setup_requires=[
'pytest-mypy',
'pytest-runner',
],
tests_require=[
'mypy>=0.770',
'pytest',
],
packages=[
'conservancy_beancount',
'conservancy_beancount.plugin',
'conservancy_beancount.reports',
],
entry_points={
'console_scripts': [
'accrual-report = conservancy_beancount.reports.accrual:main',
],
},
)
|