mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-17 16:33:50 +00:00
Move pre-commit configuration out of root directory (#911)
This commit is contained in:
@@ -7,6 +7,5 @@
|
||||
/.editorconfig export-ignore
|
||||
/.gitattributes export-ignore
|
||||
/.gitignore export-ignore
|
||||
/.pre-commit-config.yaml export-ignore
|
||||
/TESTING.md export-ignore
|
||||
/TROUBLESHOOTING.md export-ignore
|
||||
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
set -x
|
||||
python -m pip install --upgrade pip
|
||||
pip install pre-commit
|
||||
pre-commit autoupdate
|
||||
pre-commit autoupdate --config="tests/.pre-commit-config.yaml"
|
||||
|
||||
- name: Gather changes
|
||||
id: gather-changes
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
# $ brew install pre-commit
|
||||
#
|
||||
# 2. Install hooks
|
||||
# $ pre-commit install
|
||||
# $ pre-commit install --config="tests/.pre-commit-config.yaml"
|
||||
#
|
||||
# 3. Optionally, enable automatic updates
|
||||
# $ pre-commit autoupdate
|
||||
# $ pre-commit autoupdate --config="tests/.pre-commit-config.yaml"
|
||||
repos:
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 24.10.0
|
||||
Reference in New Issue
Block a user