Skip to content

Commit

Permalink
Add pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
xhochy committed Feb 27, 2023
1 parent 73cc3cd commit 8ef3fab
Show file tree
Hide file tree
Showing 16 changed files with 242 additions and 174 deletions.
33 changes: 33 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
repos:
- repo: https://github.com/Quantco/pre-commit-mirrors-black
rev: 23.1.0
hooks:
- id: black-conda
args:
- --safe
- --target-version=py38
- repo: https://github.com/Quantco/pre-commit-mirrors-flake8
rev: 6.0.0
hooks:
- id: flake8-conda
- repo: https://github.com/Quantco/pre-commit-mirrors-isort
rev: 5.12.0
hooks:
- id: isort-conda
additional_dependencies: [-c, conda-forge, toml=0.10.2]
#- repo: https://github.com/Quantco/pre-commit-mirrors-mypy
# rev: "0.991"
# hooks:
# - id: mypy-conda
# additional_dependencies: [-c, conda-forge, types-setuptools]
- repo: https://github.com/Quantco/pre-commit-mirrors-pyupgrade
rev: 3.3.1
hooks:
- id: pyupgrade-conda
args:
- --py38
- repo: https://github.com/Quantco/pre-commit-mirrors-prettier
rev: 2.7.1
hooks:
- id: prettier-conda
files: "\\.md$"
32 changes: 16 additions & 16 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
All of the people who have made at least one contribution to conda-mirror.
Authors are sorted by number of commits.

* Eric Dill
* Magnus Holm
* Ilan Schnell
* Peter Parente
* Anthony Scopatz
* John Kirkham
* Michael Peters
* magnuhho
* Uwe L. Korn
* Diogo Pereira
* Jens Nie
* Willi Rath
* David Kent
* Johannes Haberl
* Marius van Niekerk
* Bruno Oliveira
- Eric Dill
- Magnus Holm
- Ilan Schnell
- Peter Parente
- Anthony Scopatz
- John Kirkham
- Michael Peters
- magnuhho
- Uwe L. Korn
- Diogo Pereira
- Jens Nie
- Willi Rath
- David Kent
- Johannes Haberl
- Marius van Niekerk
- Bruno Oliveira
Loading

0 comments on commit 8ef3fab

Please sign in to comment.