Skip to content

Commit

Permalink
pre-commit autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
dhimmel committed Mar 22, 2024
1 parent c9df3f2 commit 6cf5ff5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@ default_language_version:
python: python3.10
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: debug-statements
- id: mixed-line-ending
- id: check-case-conflict
- id: check-yaml
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.277
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.4
hooks:
- id: ruff
args:
- --fix
- repo: https://github.com/python/black
rev: 23.3.0
- repo: https://github.com/psf/black
rev: 24.3.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
rev: v1.9.0
hooks:
- id: mypy
additional_dependencies:
Expand All @@ -30,7 +30,7 @@ repos:
- pandas==1.5.3
- pytest
- repo: https://github.com/python-poetry/poetry
rev: '1.5.0' # pre-commit autoupdate will not update to the latest version
rev: '1.8.2' # pre-commit autoupdate will not update to the latest version
hooks:
- id: poetry-check
- id: poetry-lock
Expand Down
6 changes: 3 additions & 3 deletions nxontology_data/efo/efo.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,9 @@ def create_slim_nxo(nxo: NXOntology[str]) -> NXOntology[str]:
nxo.graph.subgraph(otar_slim_nodes).copy()
)
nxo_slim.graph.graph["name"] = "efo_otar_slim"
nxo_slim.graph.graph[
"note"
] = "EFO OTAR Slim was created from EFO OTAR Profile by nxontology-data."
nxo_slim.graph.graph["note"] = (
"EFO OTAR Slim was created from EFO OTAR Profile by nxontology-data."
)
return nxo_slim


Expand Down
12 changes: 6 additions & 6 deletions nxontology_data/hgnc/hgnc.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ def _create_nxo_from_tables(
nxo: NXOntology[int] = NXOntology()
nxo.graph.graph["name"] = "hgnc_gene_group"
nxo.graph.graph["description"] = "HGNC Gene Group / Family Ontology"
nxo.graph.graph[
"data_license_source"
] = "https://www.genenames.org/about/license/"
nxo.graph.graph[
"data_license_url"
] = "https://creativecommons.org/publicdomain/zero/1.0/"
nxo.graph.graph["data_license_source"] = (
"https://www.genenames.org/about/license/"
)
nxo.graph.graph["data_license_url"] = (
"https://creativecommons.org/publicdomain/zero/1.0/"
)
nxo.graph.graph["data_license_spdx_id"] = "CC0-1.0"
nxo.set_graph_attributes(
node_identifier_attribute="id", node_name_attribute="name"
Expand Down

0 comments on commit 6cf5ff5

Please sign in to comment.