Skip to content

Commit

Permalink
Merge pull request #181 from rhpvorderman/pre-commit-ci
Browse files Browse the repository at this point in the history
Add pre-commit ci
  • Loading branch information
rhpvorderman authored Jul 9, 2024
2 parents 196d2f5 + 8274b8a commit 445e245
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

import importlib.metadata
import sequali

project = 'Sequali'
copyright = '2023, Leiden University Medical Center'
author = 'Ruben Vorderman'
version = [x.version for x in importlib.metadata.distributions()
if x.name == "sequali"][0]
version = sequali.__version__

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ deps=flake8
mypy
pytest
clang-format
pre-commit
allowlist_externals = bash
commands =
flake8 src tests setup.py
bash -c 'clang-format -Werror -n -i src/sequali/*.c src/sequali/*.h'
mypy src/sequali tests/
pre-commit run --all-files

[testenv:twine_check]
deps=build
Expand Down

0 comments on commit 445e245

Please sign in to comment.