Skip to content

Commit

Permalink
Merge pull request #9 from webern-unibas-ch/require-hashes
Browse files Browse the repository at this point in the history
ci(gh-actions): require hashes for pip
  • Loading branch information
musicEnfanthen authored Apr 27, 2024
2 parents de735d3 + dc46a2e commit 8a9f600
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r ./convert_source_description/requirements.txt
pip install pylint
python -m pip install --require-hashes --upgrade pip
pip install --require-hashes -r ./convert_source_description/requirements.txt
pip install --require-hashes pylint
- name: Analysing the code with pylint
run: |
Expand Down
3 changes: 3 additions & 0 deletions convert_source_description/requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
beautifulsoup4==4.12.3
mammoth==1.7.1
pylint==3.0.3
55 changes: 53 additions & 2 deletions convert_source_description/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,53 @@
beautifulsoup4==4.12.3
mammoth==1.7.1
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --generate-hashes requirements.in
#
astroid==3.0.3 \
--hash=sha256:4148645659b08b70d72460ed1921158027a9e53ae8b7234149b1400eddacbb93 \
--hash=sha256:92fcf218b89f449cdf9f7b39a269f8d5d617b27be68434912e11e79203963a17
# via pylint
beautifulsoup4==4.12.3 \
--hash=sha256:74e3d1928edc070d21748185c46e3fb33490f22f52a3addee9aee0f4f7781051 \
--hash=sha256:b80878c9f40111313e55da8ba20bdba06d8fa3969fc68304167741bbf9e082ed
# via -r requirements.in
cobble==0.1.3 \
--hash=sha256:52e7f886adbe42ccc3675dd627c87f6db8f22f96b6e0754a9e642ac7dd94fa42
# via mammoth
colorama==0.4.6 \
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
# via pylint
dill==0.3.8 \
--hash=sha256:3ebe3c479ad625c4553aca177444d89b486b1d84982eeacded644afc0cf797ca \
--hash=sha256:c36ca9ffb54365bdd2f8eb3eff7d2a21237f8452b57ace88b1ac615b7e815bd7
# via pylint
isort==5.13.2 \
--hash=sha256:48fdfcb9face5d58a4f6dde2e72a1fb8dcaf8ab26f95ab49fab84c2ddefb0109 \
--hash=sha256:8ca5e72a8d85860d5a3fa69b8745237f2939afe12dbf656afbcb47fe72d947a6
# via pylint
mammoth==1.7.1 \
--hash=sha256:6eae397420707740cf01692cc09bf40774b9481a69182749a476f5333f5ce9ad \
--hash=sha256:d9d098d847ca211f6c7585f0a46e62d4db7aa68984bf3e70910923da606951cb
# via -r requirements.in
mccabe==0.7.0 \
--hash=sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325 \
--hash=sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e
# via pylint
platformdirs==4.2.1 \
--hash=sha256:031cd18d4ec63ec53e82dceaac0417d218a6863f7745dfcc9efe7793b7039bdf \
--hash=sha256:17d5a1161b3fd67b390023cb2d3b026bbd40abde6fdb052dfbd3a29c3ba22ee1
# via pylint
pylint==3.0.3 \
--hash=sha256:58c2398b0301e049609a8429789ec6edf3aabe9b6c5fec916acd18639c16de8b \
--hash=sha256:7a1585285aefc5165db81083c3e06363a27448f6b467b3b0f30dbd0ac1f73810
# via -r requirements.in
soupsieve==2.5 \
--hash=sha256:5663d5a7b3bfaeee0bc4372e7fc48f9cff4940b3eec54a6451cc5299f1097690 \
--hash=sha256:eaa337ff55a1579b6549dc679565eac1e3d000563bcb1c8ab0d0fefbc0c2cdc7
# via beautifulsoup4
tomlkit==0.12.4 \
--hash=sha256:5cd82d48a3dd89dee1f9d64420aa20ae65cfbd00668d6f094d7578a78efbb77b \
--hash=sha256:7ca1cfc12232806517a8515047ba66a19369e71edf2439d0f5824f91032b6cc3
# via pylint

0 comments on commit 8a9f600

Please sign in to comment.