Skip to content
Open
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
32 changes: 32 additions & 0 deletions .github/workflows/run-type-enforcer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run Type Enforcer

on:
push:
branches:
- main
paths:
- "**.py"
pull_request:

permissions:
contents: read

jobs:
type-safety:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5.4.0
with:
python-version: "3.12"

- name: Install dependencies
run: pip install -r requirements.txt

- name: Type checker
run: mypy . --strict
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ readme = "README.md"
requires-python = ">=3.12"
keywords = [ "software supply chain", "ssc", "dependencies", "npm",]
classifiers = [ "Intended Audience :: Developers", "Topic :: Software Development :: Build Tools", "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent",]
dependencies = [ "attrs ==25.3.0", "cattrs == 24.1.2", "certifi ==2025.1.31", "charset-normalizer ==3.4.1", "exceptiongroup == 1.2.2", "GitPython ==3.1.44", "idna == 3.10", "markdown-it-py == 3.0.0", "numpy ==2.2.4", "pandas == 2.2.3", "platformdirs == 4.3.6", "pytest ==8.3.5", "python-dateutil == 2.9.0.post0", "pytz ==2025.1", "PyYAML == 6.0.2", "requests == 2.32.3", "requests-cache == 1.2.1", "six ==1.17.0", "tabulate == 0.9.0", "tqdm ==4.67.1", "typing_extensions == 4.12.2", "tzdata ==2025.1", "url-normalize == 1.4.3", "urllib3 ==2.3.0", "xmltodict == 0.14.2",]
dependencies = [ "attrs ==25.3.0", "cattrs == 24.1.2", "certifi ==2025.1.31", "charset-normalizer ==3.4.1", "exceptiongroup == 1.2.2", "GitPython ==3.1.44", "idna == 3.10", "markdown-it-py == 3.0.0", "mypy ==1.15.0", "numpy ==2.2.4", "pandas == 2.2.3", "platformdirs == 4.3.6", "pytest ==8.3.5", "python-dateutil == 2.9.0.post0", "pytz ==2025.1", "PyYAML == 6.0.2", "requests == 2.32.3", "requests-cache == 1.2.1", "six ==1.17.0", "tabulate == 0.9.0", "tqdm ==4.67.1", "typing_extensions == 4.12.2", "tzdata ==2025.1", "url-normalize == 1.4.3", "urllib3 ==2.3.0", "xmltodict == 0.14.2",]
[[project.authors]]
name = "Raphina Liu"
email = "raphina@kth.se"
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ exceptiongroup==1.2.2
GitPython==3.1.44
idna==3.10
markdown-it-py==3.0.0
mypy==1.15.0
numpy==2.2.4
pandas==2.2.3
platformdirs==4.3.6
Expand Down
Loading