Skip to content

Commit

Permalink
[Auto-generated] Update dependencies (#822)
Browse files Browse the repository at this point in the history
### Update dependencies

Automatically created PR from
[`ci/dependabot-updates`](https://github.com/emmo-repo/EMMOntoPy/tree/ci/dependabot-updates).

The PR is based on the ['CI - Update dependencies PR'
workflow](https://SINTEF.github.io/ci-cd/latest/workflows/ci_update_dependencies/)
in [SINTEF/ci-cd](https://github.com/SINTEF/ci-cd).

#### To do

- [ ] Check that the diff is sensible, and that tests and builds pass
with the new dependency versions.
- [ ] Make sure that the PR is **squash** merged, with a sensible commit
message.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Francesca L. Bleken <[email protected]>
  • Loading branch information
3 people authored Feb 18, 2025
1 parent 9a69c93 commit 8169813
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ repos:
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/ambv/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
name: Blacken

- repo: https://github.com/PyCQA/bandit
rev: '1.8.0'
rev: '1.8.2'
hooks:
- id: bandit
args: [-r]
Expand All @@ -36,7 +36,7 @@ repos:
# exclude: ^tests/.*$

- repo: https://github.com/SINTEF/ci-cd
rev: v2.8.3
rev: v2.9.0
hooks:
- id: docs-api-reference
args:
Expand Down
3 changes: 1 addition & 2 deletions demo/vertical/plot_ontology.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Plots the user case ontology created with the script `define_ontology.py`.
"""
"""Plots the user case ontology created with the script `define_ontology.py`."""
from ontopy import World


Expand Down
3 changes: 1 addition & 2 deletions ontopy/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Some generic utility functions.
"""
"""Some generic utility functions."""

# pylint: disable=protected-access,invalid-name,redefined-outer-name
# pylint: disable=import-outside-toplevel
Expand Down
4 changes: 1 addition & 3 deletions tests/ontopy_tests/test_patch.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
"""Tests Owlready2 patches implemented in ontopy/patch.py
"""
"""Tests Owlready2 patches implemented in ontopy/patch.py"""

import re

Expand Down
3 changes: 1 addition & 2 deletions tools/emmocheck
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3
"""Tool for checking that ontologies conform to EMMO conventions.
"""
"""Tool for checking that ontologies conform to EMMO conventions."""
import sys
import os

Expand Down
3 changes: 1 addition & 2 deletions tools/ontoconvert
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python
"""Converts file format of input ontology and write it to output file(s).
"""
"""Converts file format of input ontology and write it to output file(s)."""
import argparse
import warnings

Expand Down

0 comments on commit 8169813

Please sign in to comment.