diff --git a/CHANGELOG.md b/CHANGELOG.md index 452c6ae..f110b91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +3.9.2 +------ + +- Fix PEP 8 spacing +- Update build script to fail when CI tests fail + 3.9.1 ----- diff --git a/build.sh b/build.sh index dcb8469..03ce24e 100755 --- a/build.sh +++ b/build.sh @@ -1,12 +1,4 @@ #!/usr/bin/env bash . ~/venv/domainaware/bin/activate -pip install -U -r requirements.txt -rstcheck README.rst -cd docs && make html && cp -r _build/html/* ../../parsedmarc-docs/ -cd .. -rm -rf dist/ build/ -flake8 parsedmarc.py -flake8 tests.py -python3 setup.py sdist -python3 setup.py bdist_wheel +pip install -U -r requirements.txt && rstcheck README.rst && cd docs && make html && cp -r _build/html/* ../../parsedmarc-docs/ && cd .. && flake8 parsedmarc && flake8 tests.py && rm -rf dist/ build/ && ython3 setup.py sdist && python3 setup.py bdist_wheel diff --git a/parsedmarc/__init__.py b/parsedmarc/__init__.py index 0ae3753..2b833e0 100644 --- a/parsedmarc/__init__.py +++ b/parsedmarc/__init__.py @@ -43,7 +43,7 @@ import imapclient.exceptions import dateparser import mailparser -__version__ = "3.9.1" +__version__ = "3.9.2" logger = logging.getLogger(__name__) logger.setLevel(logging.INFO) @@ -1100,6 +1100,7 @@ def get_imap_capabilities(server): "") return capabilities + def get_dmarc_reports_from_inbox(host, user, password, reports_folder="INBOX", archive_folder="Archive", diff --git a/setup.py b/setup.py index 4f3d616..a7b51b7 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from setuptools import setup from codecs import open from os import path -__version__ = "3.9.1" +__version__ = "3.9.2" description = "A Python package and CLI for parsing aggregate and " \ "forensic DMARC reports"