diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a832683..8513aa2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ exclude: '^docs/conf.py' repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: check-added-large-files @@ -19,7 +19,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.8.2 + rev: v0.14.9 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/docs/requirements.txt b/docs/requirements.txt index a1b9d2b..c20cf60 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,9 +1,9 @@ +furo +myst-nb # Requirements file for ReadTheDocs, check .readthedocs.yml. # To build the module reference correctly, make sure every external package # under `install_requires` in `setup.cfg` is also listed here! # sphinx_rtd_theme myst-parser[linkify] sphinx>=3.2.1 -myst-nb -furo sphinx-autodoc-typehints diff --git a/setup.py b/setup.py index a21d0a0..1a4cd32 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,10 @@ """ - Setup file for txdb. - Use setup.cfg to configure your project. +Setup file for txdb. +Use setup.cfg to configure your project. - This file was generated with PyScaffold 4.6. - PyScaffold helps you to put up the scaffold of your new Python project. - Learn more under: https://pyscaffold.org/ +This file was generated with PyScaffold 4.6. +PyScaffold helps you to put up the scaffold of your new Python project. +Learn more under: https://pyscaffold.org/ """ from setuptools import setup diff --git a/tests/conftest.py b/tests/conftest.py index e807f1c..4702fd9 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -7,7 +7,6 @@ - https://docs.pytest.org/en/stable/writing_plugins.html """ -import os import sqlite3 import pytest diff --git a/tests/test_real.py b/tests/test_real.py index 16aaf87..ab8cc9c 100644 --- a/tests/test_real.py +++ b/tests/test_real.py @@ -1,5 +1,3 @@ -import pytest - from txdb import TxDb, TxDbRegistry __author__ = "Jayaram Kancherla" diff --git a/tests/test_registry.py b/tests/test_registry.py index a540c5e..cad84d4 100644 --- a/tests/test_registry.py +++ b/tests/test_registry.py @@ -1,10 +1,8 @@ import sqlite3 -from unittest.mock import MagicMock, patch import pytest -from genomicranges import SeqInfo -from txdb import TxDb, TxDbRegistry +from txdb import TxDbRegistry __author__ = "Jayaram Kancherla" __copyright__ = "Jayaram Kancherla" diff --git a/tests/test_txdb.py b/tests/test_txdb.py index 231fdf6..2a4e631 100644 --- a/tests/test_txdb.py +++ b/tests/test_txdb.py @@ -1,4 +1,3 @@ -import pytest from biocframe import BiocFrame from genomicranges import GenomicRanges from iranges import IRanges