Skip to content

Commit

Permalink
Merge pull request #34 from stratofax/generate
Browse files Browse the repository at this point in the history
Use Generated requirements.txt with legacy resolver
  • Loading branch information
stratofax authored Jul 22, 2022
2 parents d750bd9 + d1ff832 commit 6e34045
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python3.8-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements.txt ]; then pip install -r requirements.txt --use-deprecated=legacy-resolver; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# Can't run tests with a GitHub repo in requirements.txt
# - name: Test with pytest
# run: |
# pytest
- name: Test with pytest
run: |
pytest
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ cryptography==36.0.2; python_version >= "3.6" \
--hash=sha256:1f64a62b3b75e4005df19d3b5235abd43fa6358d5516cfc43d87aeba8d08dd51 \
--hash=sha256:e167b6b710c7f7bc54e67ef593f8731e1f45aa35f8a8a7b72d6e42ec76afd4b3 \
--hash=sha256:70f8f4f7bb2ac9f340655cbac89d68c527af5bb4387522a8413e841e3e6628c9
electos.nist-datamodels @ git+https://github.com/ion-oset/nist-data-models.git@python/main ; python_version >= "3.7" and python_version < "4.0"
pdfminer.six==20220506; python_version >= "3.6" \
--hash=sha256:0960be95fe8724a4847f83d53d0331b890871f6035ba706841568caa2b541bf5 \
--hash=sha256:3d65c1a0f4a0465c709e191550ec77a684ebe0bcb562337ccbfb7aa228c52076
Expand Down

0 comments on commit 6e34045

Please sign in to comment.