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
2 changes: 1 addition & 1 deletion artifactsrc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
"""ForensicArtifacts.com Artifact Repository resources."""

__version__ = '20240112'
__version__ = '20251124'
7 changes: 0 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[tool.docformatter]
black = false
non-cap = ["dfDateTime", "dfImageTools", "dfVFS", "dfWinReg", "dtFabric", "iMessage", "iOS", "iPod", "mDNS"]
non-strict = false
wrap-summaries = 80
wrap-descriptions = 80
2 changes: 1 addition & 1 deletion run_tests.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Script to run the tests."""

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = artifactsrc
version = 20251121
version = 20251124
description = Digital Forensics Artifact knowledge base
long_description = Documentation accompanying the Digital Forensics Artifact Repository.
long_description_content_type = text/plain
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Installation and deployment script."""

Expand Down
2 changes: 1 addition & 1 deletion tests/resource_file.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Tests for the Windows Message Resource (WRC) file class."""

Expand Down
2 changes: 1 addition & 1 deletion tools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
2 changes: 1 addition & 1 deletion tools/check_artifacts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Script to check artifact definitions on a storage media image."""

Expand Down
2 changes: 1 addition & 1 deletion tools/generate_docs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Script to generate artifact definition documentation."""

Expand Down
14 changes: 2 additions & 12 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py3{10,11,12,13,14},coverage,docformatter,docs,lint,wheel
envlist = py3{10,11,12,13,14},coverage,docs,lint,wheel

[testenv]
allowlist_externals = ./run_tests.py
Expand All @@ -25,13 +25,6 @@ commands =
coverage: coverage xml
wheel: python -m build --no-isolation --wheel

[testenv:docformatter]
usedevelop = True
deps =
docformatter
commands =
docformatter --in-place --recursive artifactsrc tests

[testenv:docs]
usedevelop = True
deps =
Expand All @@ -52,14 +45,11 @@ setenv =
deps =
-rrequirements.txt
-rtest_requirements.txt
docformatter
pylint >= 3.3.0, < 3.4.0
setuptools
setuptools >= 65
yamllint >= 1.26.0
commands =
docformatter --version
pylint --version
yamllint -v
docformatter --check --diff --recursive artifactsrc setup.py tests tools
pylint --rcfile=.pylintrc artifactsrc setup.py tests tools
yamllint -c .yamllint.yaml artifactsrc
2 changes: 1 addition & 1 deletion utils/check_dependencies.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Script to check for the availability and version of dependencies."""

Expand Down
5 changes: 4 additions & 1 deletion utils/update_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@
EXIT_FAILURE=1;
EXIT_SUCCESS=0;

VERSION=`date -u +"%Y%m%d"`
VERSION=$(date -u +"%Y%m%d")

# Update the Python module version.
sed "s/__version__ = '[0-9]*'/__version__ = '${VERSION}'/" -i artifactsrc/__init__.py

# Update the version in the setuptools configuration.
sed "s/version = [0-9]*/version = ${VERSION}/" -i setup.cfg

# Ensure shebangs of Python scripts are consistent.
find . -name \*.py -exec sed '1s?^#!.*$?#!/usr/bin/env python3?' -i {} \;

# Regenerate the API documentation.
tox -edocs

Expand Down