Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions archivist_samples/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
"""Archivist samples code
"""
"""Archivist samples code"""
3 changes: 1 addition & 2 deletions archivist_samples/archivist.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Local Archivist class
"""
"""Local Archivist class"""

# pylint: disable=missing-docstring
# pylint: disable=too-few-public-methods
Expand Down
3 changes: 1 addition & 2 deletions archivist_samples/c2pa/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
"""c2pa
"""
"""c2pa"""
3 changes: 1 addition & 2 deletions archivist_samples/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
"""Constants
"""
"""Constants"""

USER_AGENT_PREFIX = "samples/"
3 changes: 1 addition & 2 deletions archivist_samples/document/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
"""document
"""
"""document"""
3 changes: 1 addition & 2 deletions archivist_samples/door_entry/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
"""door entry
"""
"""door entry"""
2 changes: 1 addition & 1 deletion archivist_samples/door_entry/images/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"""Images """
"""Images"""
3 changes: 1 addition & 2 deletions archivist_samples/estate_info/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
"""estate info
"""
"""estate info"""
3 changes: 1 addition & 2 deletions archivist_samples/sample_scripts/c2pa/sample/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
"""c2pa
"""
"""c2pa"""
3 changes: 1 addition & 2 deletions archivist_samples/sbom_document/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
"""sbom document
"""
"""sbom document"""
2 changes: 1 addition & 1 deletion archivist_samples/sbom_document/sbom_files/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"""Sbom files """
"""Sbom files"""
3 changes: 1 addition & 2 deletions archivist_samples/signed_records/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
"""signed records
"""
"""signed records"""
3 changes: 1 addition & 2 deletions archivist_samples/signed_records/main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# WARNING: Proof of concept code: Not for release

"""Key management
"""
"""Key management"""

# pylint: disable=missing-docstring

Expand Down
3 changes: 1 addition & 2 deletions archivist_samples/software_bill_of_materials/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
"""software bill of materials
"""
"""software bill of materials"""
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"""Sbom files """
"""Sbom files"""
3 changes: 1 addition & 2 deletions archivist_samples/synsation/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
"""synsation data
"""
"""synsation data"""
2 changes: 1 addition & 1 deletion archivist_samples/testing/__init__.py
Original file line number Diff line number Diff line change
@@ -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.
"""
4 changes: 2 additions & 2 deletions archivist_samples/testing/archivist_parser.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion archivist_samples/testing/asset.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions archivist_samples/testing/assets.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Convenience functions
"""
"""Convenience functions"""

# pylint: disable=missing-docstring

Expand Down
3 changes: 1 addition & 2 deletions archivist_samples/testing/locations.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Convenience functions
"""
"""Convenience functions"""

# pylint: disable=missing-docstring

Expand Down
12 changes: 6 additions & 6 deletions archivist_samples/testing/logger.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions archivist_samples/testing/parser.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions archivist_samples/testing/time_warp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Simulates accelerated time for creating plausible logs quickly
"""
"""Simulates accelerated time for creating plausible logs quickly"""

import datetime

Expand Down
3 changes: 1 addition & 2 deletions archivist_samples/wipp/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
"""wipp
"""
"""wipp"""
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# code quality
autopep8~=2.3
black~=24.10
black~=25.1
pycodestyle~=2.13
pylint~=3.0

Expand Down