mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-11-21 11:55:11 +01:00
Add basic pre-commit to handle eol space (#592)
This commit is contained in:
parent
713dae18f1
commit
741308c93f
1
.github/workflows/matchers/pytest.json
vendored
1
.github/workflows/matchers/pytest.json
vendored
@ -17,4 +17,3 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
|
9
.pre-commit-config.yaml
Normal file
9
.pre-commit-config.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v3.2.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-added-large-files
|
@ -13,4 +13,3 @@ Before creating a release: Check the latest commit passes continuous integration
|
||||
When the release button on the draft is clicked, GitHub Actions will publish the release to PyPi.
|
||||
|
||||
After any push to the main branch, the "protoc-update" workflow is run which updates the generated python protobuf files. This is to ensure that if a contributor has a newer protoc version installed than the protobuf python package, we won't run into any issues.
|
||||
|
||||
|
@ -32,4 +32,3 @@ disable = [
|
||||
|
||||
[build-system]
|
||||
requires = ['setuptools>=65.4.1', 'wheel', 'Cython>=3.0.2']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user