Skip to content

Commit c966de7

Browse files
committed
Add precommit hook
1 parent b221417 commit c966de7

File tree

5 files changed

+18
-12
lines changed

5 files changed

+18
-12
lines changed

.github/workflows/pipeline.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ jobs:
2525
skip-smoke: 'true'
2626
app-path: 'src/app.py'
2727
ruff: 'true'
28-

.pre-commit-config.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.3.0
4+
hooks:
5+
- id: check-yaml
6+
- id: end-of-file-fixer
7+
- id: trailing-whitespace
8+
9+
- repo: https://github.com/astral-sh/ruff-pre-commit
10+
rev: v0.6.2
11+
hooks:
12+
- id: ruff
13+
types_or: [ python, pyi ]
14+
args: [ --fix ]
15+
- id: ruff-format
16+
types_or: [ python, pyi ]

.pre-commit-config.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# financial-dash
2-
Repository for Financial Dashboard
2+
Repository for Financial Dashboard

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
streamlit
2-
pytest
2+
pytest

0 commit comments

Comments
 (0)