Skip to content

Commit

Permalink
pylint req for python3.7 remains lower.
Browse files Browse the repository at this point in the history
  • Loading branch information
francescalb committed Oct 10, 2023
1 parent 6e5d345 commit 5b2687e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo/horizontal/emmo2meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def get_description(self, cls):
"""Returns description for OWL class `cls` by combining its
annotations."""
if isinstance(cls, str):
cls = onto[cls]
cls = self.onto[cls]
descr = []
annotations = self.onto.get_annotations(cls)
if "definition" in annotations:
Expand Down
3 changes: 2 additions & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pre-commit>=2.21.0,<3; python_version<"3.8"
pre-commit~=3.4; python_version>="3.8"
pylint~=3.0
pylint~=2.17; python_version<"3.8"
pylint~=3.0; python_version>="3.8"
pytest~=7.4
pytest-cov~=4.1

0 comments on commit 5b2687e

Please sign in to comment.