Skip to content

Commit

Permalink
Merge pull request #145 from iobis/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
ocefpaf authored Feb 5, 2024
2 parents eba4c2e + 4845f03 commit 57d7bb6
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
files: requirements-dev.txt

- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
exclude: ^(docs/source/conf.py|pyobis/obisissues.py)
Expand All @@ -29,7 +29,7 @@ repos:
args: ["--profile", "black", "--filter-files"]

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
language_version: python3
Expand Down
1 change: 1 addition & 0 deletions pyobis/checklist/checklist.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
/checklist/ API endpoints as documented on https://api.obis.org/.
"""

import sys

import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions pyobis/checklist/test_checklist.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for checklist module"""

import pytest
import requests

Expand Down
1 change: 1 addition & 0 deletions pyobis/dataset/test_dataset.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for dataset module"""

import pytest
import requests

Expand Down
1 change: 1 addition & 0 deletions pyobis/nodes/test_nodes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for nodes module"""

import pytest
import requests

Expand Down
1 change: 1 addition & 0 deletions pyobis/obisutils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Utility functions for internal use across various modules.
"""

from urllib.parse import urlencode

import requests
Expand Down
1 change: 1 addition & 0 deletions pyobis/occurrences/test_occurrence.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for occurrences module methods"""

import pytest
import requests

Expand Down
1 change: 1 addition & 0 deletions pyobis/taxa/taxa.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
/taxon/ API endpoints as documented on https://api.obis.org/.
"""

import pandas as pd

from ..obisutils import build_api_url, handle_arrstr, obis_baseurl, obis_GET
Expand Down
1 change: 1 addition & 0 deletions pyobis/taxa/test_taxa.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for taxa module - search methods"""

import pytest
import requests

Expand Down

0 comments on commit 57d7bb6

Please sign in to comment.