Skip to content

Commit

Permalink
Fix python version in qa workflow (#2521)
Browse files Browse the repository at this point in the history
* Update qa.yml to use Python 3.8

* Fix formatting of utils/check_schema.py
  • Loading branch information
deepakunni3 authored Feb 6, 2024
1 parent ce441cb commit 4441925
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: github.triggering_actor != 'github-actions[bot]'
strategy:
matrix:
python-version: [ "3.7", "3.10" ]
python-version: [ "3.8", "3.10" ]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
8 changes: 5 additions & 3 deletions util/check_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ def _check_schema(max_cutoff: int = 3, links: bool = True):
(
k,
", ".join(
f"[{prefix}](https://obofoundry.org/ontologies/{prefix})"
if links
else prefix
(
f"[{prefix}](https://obofoundry.org/ontologies/{prefix})"
if links
else prefix
)
for prefix in prefixes
),
)
Expand Down

0 comments on commit 4441925

Please sign in to comment.