Skip to content

Commit

Permalink
Add numpy safety ignore (#96)
Browse files Browse the repository at this point in the history
Add numpy safety ignore.

See the GH issue at:
numpy/numpy#19038
for more information.

Add extra ignore keys when using Python 3.7.

Update minimum version for EMMO-Python to 0.2.0.
  • Loading branch information
CasperWA committed Mar 25, 2022
1 parent 80ef1d3 commit 7a4266c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/dic2owl_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ jobs:
- name: Run PyLint
run: pylint --rcfile=dic2owl/pyproject.toml dic2owl/**/*.py

# Ignore ID 44715 for now.
# See this NumPy issue for more information: https://github.com/numpy/numpy/issues/19038
- name: Run safety
run: pip freeze | safety check --stdin
run: pip freeze | safety check --stdin --ignore 44715 --ignore 44716 --ignore 44717

dic2owl-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion dic2owl/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
EMMOntoPy>=0.1.3,<1
EMMOntoPy>=0.2.0,<1
PyCifRW>=4.4.3,<5

0 comments on commit 7a4266c

Please sign in to comment.