File tree Expand file tree Collapse file tree 7 files changed +314
-244
lines changed Expand file tree Collapse file tree 7 files changed +314
-244
lines changed Original file line number Diff line number Diff line change 3030 with :
3131 python-version : ${{ matrix.python-version }}
3232 channels : conda-forge
33-
33+
3434 - name : Prepare
3535 run : conda install conda-build conda-verify
3636
Original file line number Diff line number Diff line change 1+ # To use:
2+ #
3+ # pre-commit run -a
4+ #
5+ # Or:
6+ #
7+ # pre-commit install # (runs every time you commit in git)
8+ #
9+ # To update this file:
10+ #
11+ # pre-commit autoupdate
12+ #
13+ # See https://github.com/pre-commit/pre-commit
14+
15+ ci :
16+ autoupdate_commit_msg : " chore: update pre-commit hooks"
17+ autofix_commit_msg : " style: pre-commit fixes"
18+
19+ repos :
20+ # Standard hooks
21+ - repo : https://github.com/pre-commit/pre-commit-hooks
22+ rev : v4.0.1
23+ hooks :
24+ - id : check-added-large-files
25+ - id : check-case-conflict
26+ - id : check-merge-conflict
27+ - id : check-symlinks
28+ - id : check-yaml
29+ exclude : ^conda\.recipe/meta\.yaml$
30+ - id : debug-statements
31+ - id : end-of-file-fixer
32+ - id : mixed-line-ending
33+ - id : requirements-txt-fixer
34+ - id : trailing-whitespace
35+
36+ # Black, the code formatter, natively supports pre-commit
37+ - repo : https://github.com/psf/black
38+ rev : 21.9b0
39+ hooks :
40+ - id : black
41+ files : ^(docs)
42+
43+ # Sort your imports in a standard form
44+ - repo : https://github.com/PyCQA/isort
45+ rev : 5.9.3
46+ hooks :
47+ - id : isort
48+
49+ # Upgrade older Python syntax
50+ - repo : https://github.com/asottile/pyupgrade
51+ rev : v2.29.0
52+ hooks :
53+ - id : pyupgrade
54+ args : ["--py36-plus"]
55+
56+ # Changes tabs to spaces
57+ - repo : https://github.com/Lucas-C/pre-commit-hooks
58+ rev : v1.1.10
59+ hooks :
60+ - id : remove-tabs
61+
62+ # Suggested hook if you add a .clang-format file
63+ # - repo: https://github.com/pre-commit/mirrors-clang-format
64+ # rev: v13.0.0
65+ # hooks:
66+ # - id: clang-format
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ python_example
2121[ actions-wheels-link ] : https://github.com/pybind/python_example/actions?query=workflow%3AWheels
2222[ actions-wheels-badge ] : https://github.com/pybind/python_example/workflows/Wheels/badge.svg
2323[ travis-link ] : https://travis-ci.org/pybind/python_example
24- [ travis-badge] : https://travis-ci.org/pybind/python_example.svg?branch=master&status=passed
24+ [ travis-badge ] : https://travis-ci.org/pybind/python_example.svg?branch=master&status=passed
2525[ appveyor-link ] : https://ci.appveyor.com/project/wjakob/python-example
2626<!-- TODO: get a real badge link for appveyor -->
2727[ appveyor-badge ] : https://travis-ci.org/pybind/python_example.svg?branch=master&status=passed
You can’t perform that action at this time.
0 commit comments