Skip to content

Commit 7036649

Browse files
committed
chore: testing out pre commit hooks
1 parent 6e3bbf8 commit 7036649

File tree

4 files changed

+16
-19
lines changed

4 files changed

+16
-19
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,31 +19,12 @@ repos:
1919
entry: check-yaml
2020
language: system
2121
types: [yaml]
22-
- id: darglint
23-
name: darglint
24-
entry: darglint
25-
language: system
26-
types: [python]
27-
stages: [manual]
2822
- id: end-of-file-fixer
2923
name: Fix End of Files
3024
entry: end-of-file-fixer
3125
language: system
3226
types: [text]
3327
stages: [pre-commit, pre-push, manual]
34-
- id: ruff-lint
35-
name: Ruff Lint
36-
entry: ruff check
37-
language: system
38-
types: [python]
39-
require_serial: true
40-
args: [--fix]
41-
- id: ruff-format
42-
name: Ruff Format
43-
entry: ruff format
44-
language: system
45-
types: [python]
46-
require_serial: true
4728
- id: trailing-whitespace
4829
name: Trim Trailing Whitespace
4930
entry: trailing-whitespace-fixer
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Robust Python Demo."""
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"""Command-line interface."""
2+
3+
import typer
4+
5+
6+
app: typer.Typer = typer.Typer()
7+
8+
9+
@app.command(name="robust-python-demo")
10+
def main() -> None:
11+
"""Robust Python Demo."""
12+
13+
14+
if __name__ == "__main__":
15+
app() # pragma: no cover

build/lib/robust_python_demo/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)