diff --git a/archivist_samples/__init__.py b/archivist_samples/__init__.py index 3bc02c3..06ccf39 100644 --- a/archivist_samples/__init__.py +++ b/archivist_samples/__init__.py @@ -1,2 +1 @@ -"""Archivist samples code -""" +"""Archivist samples code""" diff --git a/archivist_samples/archivist.py b/archivist_samples/archivist.py index ad0892c..3548f9c 100644 --- a/archivist_samples/archivist.py +++ b/archivist_samples/archivist.py @@ -1,5 +1,4 @@ -"""Local Archivist class -""" +"""Local Archivist class""" # pylint: disable=missing-docstring # pylint: disable=too-few-public-methods diff --git a/archivist_samples/c2pa/__init__.py b/archivist_samples/c2pa/__init__.py index 3517951..f93393a 100644 --- a/archivist_samples/c2pa/__init__.py +++ b/archivist_samples/c2pa/__init__.py @@ -1,2 +1 @@ -"""c2pa -""" +"""c2pa""" diff --git a/archivist_samples/constants.py b/archivist_samples/constants.py index 43227cb..cb97b8b 100644 --- a/archivist_samples/constants.py +++ b/archivist_samples/constants.py @@ -1,4 +1,3 @@ -"""Constants -""" +"""Constants""" USER_AGENT_PREFIX = "samples/" diff --git a/archivist_samples/document/__init__.py b/archivist_samples/document/__init__.py index db15a94..55d7e0d 100644 --- a/archivist_samples/document/__init__.py +++ b/archivist_samples/document/__init__.py @@ -1,2 +1 @@ -"""document -""" +"""document""" diff --git a/archivist_samples/door_entry/__init__.py b/archivist_samples/door_entry/__init__.py index 6deee89..d44b84d 100644 --- a/archivist_samples/door_entry/__init__.py +++ b/archivist_samples/door_entry/__init__.py @@ -1,2 +1 @@ -"""door entry -""" +"""door entry""" diff --git a/archivist_samples/door_entry/images/__init__.py b/archivist_samples/door_entry/images/__init__.py index db2df58..9879eda 100644 --- a/archivist_samples/door_entry/images/__init__.py +++ b/archivist_samples/door_entry/images/__init__.py @@ -1 +1 @@ -"""Images """ +"""Images""" diff --git a/archivist_samples/estate_info/__init__.py b/archivist_samples/estate_info/__init__.py index 32077af..bcbe732 100644 --- a/archivist_samples/estate_info/__init__.py +++ b/archivist_samples/estate_info/__init__.py @@ -1,2 +1 @@ -"""estate info -""" +"""estate info""" diff --git a/archivist_samples/sample_scripts/c2pa/sample/__init__.py b/archivist_samples/sample_scripts/c2pa/sample/__init__.py index 3517951..f93393a 100644 --- a/archivist_samples/sample_scripts/c2pa/sample/__init__.py +++ b/archivist_samples/sample_scripts/c2pa/sample/__init__.py @@ -1,2 +1 @@ -"""c2pa -""" +"""c2pa""" diff --git a/archivist_samples/sbom_document/__init__.py b/archivist_samples/sbom_document/__init__.py index 61d84e3..47b7717 100644 --- a/archivist_samples/sbom_document/__init__.py +++ b/archivist_samples/sbom_document/__init__.py @@ -1,2 +1 @@ -"""sbom document -""" +"""sbom document""" diff --git a/archivist_samples/sbom_document/sbom_files/__init__.py b/archivist_samples/sbom_document/sbom_files/__init__.py index 9d9145c..d44dfd3 100644 --- a/archivist_samples/sbom_document/sbom_files/__init__.py +++ b/archivist_samples/sbom_document/sbom_files/__init__.py @@ -1 +1 @@ -"""Sbom files """ +"""Sbom files""" diff --git a/archivist_samples/signed_records/__init__.py b/archivist_samples/signed_records/__init__.py index 6bd4931..3448f39 100644 --- a/archivist_samples/signed_records/__init__.py +++ b/archivist_samples/signed_records/__init__.py @@ -1,2 +1 @@ -"""signed records -""" +"""signed records""" diff --git a/archivist_samples/signed_records/main.py b/archivist_samples/signed_records/main.py index 98a1492..7651ec8 100644 --- a/archivist_samples/signed_records/main.py +++ b/archivist_samples/signed_records/main.py @@ -1,7 +1,6 @@ # WARNING: Proof of concept code: Not for release -"""Key management -""" +"""Key management""" # pylint: disable=missing-docstring diff --git a/archivist_samples/software_bill_of_materials/__init__.py b/archivist_samples/software_bill_of_materials/__init__.py index 79c1a28..27415bb 100644 --- a/archivist_samples/software_bill_of_materials/__init__.py +++ b/archivist_samples/software_bill_of_materials/__init__.py @@ -1,2 +1 @@ -"""software bill of materials -""" +"""software bill of materials""" diff --git a/archivist_samples/software_bill_of_materials/sbom_files/__init__.py b/archivist_samples/software_bill_of_materials/sbom_files/__init__.py index 9d9145c..d44dfd3 100644 --- a/archivist_samples/software_bill_of_materials/sbom_files/__init__.py +++ b/archivist_samples/software_bill_of_materials/sbom_files/__init__.py @@ -1 +1 @@ -"""Sbom files """ +"""Sbom files""" diff --git a/archivist_samples/synsation/__init__.py b/archivist_samples/synsation/__init__.py index 29342f8..e54cd05 100644 --- a/archivist_samples/synsation/__init__.py +++ b/archivist_samples/synsation/__init__.py @@ -1,2 +1 @@ -"""synsation data -""" +"""synsation data""" diff --git a/archivist_samples/testing/__init__.py b/archivist_samples/testing/__init__.py index da16018..c99b47d 100644 --- a/archivist_samples/testing/__init__.py +++ b/archivist_samples/testing/__init__.py @@ -1,3 +1,3 @@ """Convenience layer that ensures that assets and locations are created, read or - counted for a particular namespace plus a logger interface. +counted for a particular namespace plus a logger interface. """ diff --git a/archivist_samples/testing/archivist_parser.py b/archivist_samples/testing/archivist_parser.py index 4c1a936..74cd898 100644 --- a/archivist_samples/testing/archivist_parser.py +++ b/archivist_samples/testing/archivist_parser.py @@ -1,7 +1,7 @@ """common parser argument - This is copied from datatrails-python repo. When acceptable this file will - be copied back to the datatrails-python repo. +This is copied from datatrails-python repo. When acceptable this file will +be copied back to the datatrails-python repo. """ # pylint: disable=missing-docstring diff --git a/archivist_samples/testing/asset.py b/archivist_samples/testing/asset.py index 8819b60..45f4611 100644 --- a/archivist_samples/testing/asset.py +++ b/archivist_samples/testing/asset.py @@ -1,7 +1,7 @@ # WARNING: Proof of concept code: Not for release """Class that implements common actions on an asset. This is the secret sauce - and this code may be added to the python SDK at some later date... +and this code may be added to the python SDK at some later date... """ # pylint: disable=missing-docstring diff --git a/archivist_samples/testing/assets.py b/archivist_samples/testing/assets.py index 8ea4cf3..7585aa3 100755 --- a/archivist_samples/testing/assets.py +++ b/archivist_samples/testing/assets.py @@ -1,5 +1,4 @@ -"""Convenience functions -""" +"""Convenience functions""" # pylint: disable=missing-docstring diff --git a/archivist_samples/testing/locations.py b/archivist_samples/testing/locations.py index cdb864f..eeae916 100755 --- a/archivist_samples/testing/locations.py +++ b/archivist_samples/testing/locations.py @@ -1,5 +1,4 @@ -"""Convenience functions -""" +"""Convenience functions""" # pylint: disable=missing-docstring diff --git a/archivist_samples/testing/logger.py b/archivist_samples/testing/logger.py index 43732b5..e2a64f8 100755 --- a/archivist_samples/testing/logger.py +++ b/archivist_samples/testing/logger.py @@ -1,12 +1,12 @@ """Creates the root logger as a simple console streamer. Follows the Django-style - logging configuration where the logging system forms a hierarchy of loggers - all potentially independently configurable. +logging configuration where the logging system forms a hierarchy of loggers +all potentially independently configurable. - This model allows controlling loggers that are part of the dependency list. For - example setting a debug logging level will show debug output from the underlying - urllib3 package. +This model allows controlling loggers that are part of the dependency list. For +example setting a debug logging level will show debug output from the underlying +urllib3 package. - URL: https://docs.djangoproject.com/en/3.2/topics/logging/ +URL: https://docs.djangoproject.com/en/3.2/topics/logging/ """ # pylint: disable=missing-docstring diff --git a/archivist_samples/testing/parser.py b/archivist_samples/testing/parser.py index 57bd79e..b37d987 100644 --- a/archivist_samples/testing/parser.py +++ b/archivist_samples/testing/parser.py @@ -1,5 +1,4 @@ -"""common parser arguments for all samples code -""" +"""common parser arguments for all samples code""" # pylint: disable=missing-docstring # pylint: disable=too-few-public-methods diff --git a/archivist_samples/testing/time_warp.py b/archivist_samples/testing/time_warp.py index 225ca62..ce28623 100755 --- a/archivist_samples/testing/time_warp.py +++ b/archivist_samples/testing/time_warp.py @@ -1,5 +1,4 @@ -"""Simulates accelerated time for creating plausible logs quickly -""" +"""Simulates accelerated time for creating plausible logs quickly""" import datetime diff --git a/archivist_samples/wipp/__init__.py b/archivist_samples/wipp/__init__.py index c44e92f..58a27c3 100644 --- a/archivist_samples/wipp/__init__.py +++ b/archivist_samples/wipp/__init__.py @@ -1,2 +1 @@ -"""wipp -""" +"""wipp""" diff --git a/requirements-dev.txt b/requirements-dev.txt index f9fbd35..de462a5 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,7 +2,7 @@ # code quality autopep8~=2.3 -black~=24.10 +black~=25.1 pycodestyle~=2.13 pylint~=3.0