Skip to content

Commit

Permalink
chore: refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
patmikista committed Apr 5, 2024
1 parent 152031d commit 89883a1
Show file tree
Hide file tree
Showing 29 changed files with 115 additions and 711 deletions.
48 changes: 48 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
ci:
skip: [pytest]

default_language_version:
python: python3.12

repos:
# general checks (see here: https://pre-commit.com/hooks.html)
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
args: [--allow-multiple-documents]
- id: end-of-file-fixer
- id: trailing-whitespace

# black - formatting
- repo: https://github.com/psf/black
rev: 24.2.0
hooks:
- id: black
name: black
args:
- "--config"
- "./pyproject.toml"

# ruff - linting
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.3.0"
hooks:
- id: ruff
name: ruff

# mypy - lint-like type checking
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
hooks:
- id: mypy
name: mypy

- repo: local
hooks:
- id: pytest
name: pytest
entry: poetry run pytest --cov=src tests
language: system
types: [python]
pass_filenames: false
20 changes: 0 additions & 20 deletions docs/Makefile

This file was deleted.

36 changes: 0 additions & 36 deletions docs/make.bat

This file was deleted.

23 changes: 0 additions & 23 deletions docs/source/about.rst

This file was deleted.

181 changes: 0 additions & 181 deletions docs/source/conf.py

This file was deleted.

13 changes: 0 additions & 13 deletions docs/source/devdoc.rst

This file was deleted.

2 changes: 0 additions & 2 deletions docs/source/documentation.rst

This file was deleted.

38 changes: 0 additions & 38 deletions docs/source/examples.rst

This file was deleted.

23 changes: 0 additions & 23 deletions docs/source/examples_text.rst

This file was deleted.

Loading

0 comments on commit 89883a1

Please sign in to comment.