diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..159f637 --- /dev/null +++ b/.gitignore @@ -0,0 +1,132 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so +*.dylib +*.dll + +# Distribution / packaging +.Python +build/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +*.egg +pip-wheel-metadata/ + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +pytest_cache/ +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ + +# Type checkers +.mypy_cache/ +.dmypy.json +.pyre/ +.pytype/ + +# Ruff / linters +.ruff_cache/ + +# Virtual environments +.venv/ +venv/ +env/ +ENV/ +env.bak/ +venv.bak/ + +# Pyenv +.python-version + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv / pipenv / poetry +Pipfile.lock +poetry.lock + +# PDM +.pdm.toml +.pdm-python +.pdm-build/ + +# Environments +.env +.env.* +*.env + +# Logs +*.log + +# SQLite +*.sqlite3 + +# VS Code +.vscode/ + +# PyCharm / IntelliJ +.idea/ + +# MacOS +.DS_Store + +# Windows +Thumbs.db +ehthumbs.db + +# Sphinx documentation +docs/_build/ + +# MkDocs +site/ + +# PyInstaller +*.manifest +*.spec + +# Caches +*.cache + +# mypy compiled cache +.mypyc/ + +# Coverage reports +coverage/ + +# Temporary files +*.tmp +*.swp +*.bak + +# Data files (adjust depending on project) +data/ +datasets/ \ No newline at end of file diff --git a/src/metacheck/scripts/pitfalls/__pycache__/__init__.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/__init__.cpython-310.pyc deleted file mode 100644 index 24eb7fd..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/__init__.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p001.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p001.cpython-310.pyc deleted file mode 100644 index 2a66484..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p001.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p002.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p002.cpython-310.pyc deleted file mode 100644 index de150f1..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p002.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p003.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p003.cpython-310.pyc deleted file mode 100644 index aaa86fa..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p003.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p004.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p004.cpython-310.pyc deleted file mode 100644 index 369ae06..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p004.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p005.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p005.cpython-310.pyc deleted file mode 100644 index 18aabf0..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p005.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p006.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p006.cpython-310.pyc deleted file mode 100644 index 579ccf2..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p006.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p007.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p007.cpython-310.pyc deleted file mode 100644 index 21305ad..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p007.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p008.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p008.cpython-310.pyc deleted file mode 100644 index 64eb6b7..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p008.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p009.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p009.cpython-310.pyc deleted file mode 100644 index 7c94941..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p009.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p010.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p010.cpython-310.pyc deleted file mode 100644 index 8b0a8c7..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p010.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p011.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p011.cpython-310.pyc deleted file mode 100644 index 4a08cd4..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p011.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p012.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p012.cpython-310.pyc deleted file mode 100644 index 2e2791b..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p012.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p013.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p013.cpython-310.pyc deleted file mode 100644 index 795193e..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p013.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p014.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p014.cpython-310.pyc deleted file mode 100644 index f7d5821..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p014.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p015.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p015.cpython-310.pyc deleted file mode 100644 index c7bbf4e..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p015.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p016.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p016.cpython-310.pyc deleted file mode 100644 index 878cf31..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p016.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p017.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p017.cpython-310.pyc deleted file mode 100644 index dde3186..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p017.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/pitfalls/__pycache__/p018.cpython-310.pyc b/src/metacheck/scripts/pitfalls/__pycache__/p018.cpython-310.pyc deleted file mode 100644 index d100461..0000000 Binary files a/src/metacheck/scripts/pitfalls/__pycache__/p018.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/warnings/__pycache__/__init__.cpython-310.pyc b/src/metacheck/scripts/warnings/__pycache__/__init__.cpython-310.pyc deleted file mode 100644 index 68c6f03..0000000 Binary files a/src/metacheck/scripts/warnings/__pycache__/__init__.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/warnings/__pycache__/w001.cpython-310.pyc b/src/metacheck/scripts/warnings/__pycache__/w001.cpython-310.pyc deleted file mode 100644 index eeffd65..0000000 Binary files a/src/metacheck/scripts/warnings/__pycache__/w001.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/warnings/__pycache__/w002.cpython-310.pyc b/src/metacheck/scripts/warnings/__pycache__/w002.cpython-310.pyc deleted file mode 100644 index 82ea851..0000000 Binary files a/src/metacheck/scripts/warnings/__pycache__/w002.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/warnings/__pycache__/w003.cpython-310.pyc b/src/metacheck/scripts/warnings/__pycache__/w003.cpython-310.pyc deleted file mode 100644 index 463a2d8..0000000 Binary files a/src/metacheck/scripts/warnings/__pycache__/w003.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/warnings/__pycache__/w004.cpython-310.pyc b/src/metacheck/scripts/warnings/__pycache__/w004.cpython-310.pyc deleted file mode 100644 index 6bc73cf..0000000 Binary files a/src/metacheck/scripts/warnings/__pycache__/w004.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/warnings/__pycache__/w005.cpython-310.pyc b/src/metacheck/scripts/warnings/__pycache__/w005.cpython-310.pyc deleted file mode 100644 index 644c329..0000000 Binary files a/src/metacheck/scripts/warnings/__pycache__/w005.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/warnings/__pycache__/w006.cpython-310.pyc b/src/metacheck/scripts/warnings/__pycache__/w006.cpython-310.pyc deleted file mode 100644 index 481141a..0000000 Binary files a/src/metacheck/scripts/warnings/__pycache__/w006.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/warnings/__pycache__/w007.cpython-310.pyc b/src/metacheck/scripts/warnings/__pycache__/w007.cpython-310.pyc deleted file mode 100644 index e0c5edb..0000000 Binary files a/src/metacheck/scripts/warnings/__pycache__/w007.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/warnings/__pycache__/w008.cpython-310.pyc b/src/metacheck/scripts/warnings/__pycache__/w008.cpython-310.pyc deleted file mode 100644 index c1c1739..0000000 Binary files a/src/metacheck/scripts/warnings/__pycache__/w008.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/warnings/__pycache__/w009.cpython-310.pyc b/src/metacheck/scripts/warnings/__pycache__/w009.cpython-310.pyc deleted file mode 100644 index 73da0f4..0000000 Binary files a/src/metacheck/scripts/warnings/__pycache__/w009.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/scripts/warnings/__pycache__/w010.cpython-310.pyc b/src/metacheck/scripts/warnings/__pycache__/w010.cpython-310.pyc deleted file mode 100644 index 90f5621..0000000 Binary files a/src/metacheck/scripts/warnings/__pycache__/w010.cpython-310.pyc and /dev/null differ diff --git a/src/metacheck/utils/json_ld_utils.py b/src/metacheck/utils/json_ld_utils.py index 12140c1..3ca6e16 100644 --- a/src/metacheck/utils/json_ld_utils.py +++ b/src/metacheck/utils/json_ld_utils.py @@ -440,7 +440,7 @@ def get_suggestion_text(pitfall_code: str) -> str: # Warnings "W001": "Add version numbers to your dependencies. This provides stability for users and allows reproducibility across different environments.", - "W002": "You need to align the version in your metadata file with your latest release tag. Automating this synchronization as part of your release process is highly recommended.", + "W002": "The data in the metadata file should be updated to be aligned with the date of the latest release. Automating this synchronization as part of your release process is highly recommended.", "W003": "Make sure you are using the correct licenses. This avoids confusion about terms of use and ensures full transparency.", "W004": "Include version numbers for each programming language used. Defining these helps ensure reproducibility and compatibility across systems.", "W005": "Rewrite your dependencies as a proper list, with each item separated and preferably with their versions. This makes them easier to parse for metadata systems.",