Skip to content

Commit

Permalink
chore: remove pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fusion44 committed Oct 6, 2024
1 parent 8035871 commit d3902e1
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 201 deletions.
28 changes: 0 additions & 28 deletions .pre-commit-config.yaml

This file was deleted.

5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ install:
poetry run python -m pip install -r requirements.txt

install-dev:
poetry install && poetry run pre-commit install
poetry install

run:
poetry run python -m uvicorn app.main:app --reload
Expand All @@ -40,9 +40,6 @@ update-requirements-file:
sync-to-blitz:
bash scripts/sync_to_blitz.sh

pre-commit:
poetry run pre-commit run --all-files

generate-client-libs:
poetry run python gen_client_libs.py

Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Blitz API

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)

A management backend for bitcoin and lightning node operators written in Python with FastAPI.

Expand Down Expand Up @@ -116,7 +115,6 @@ folder of the project:

```
poetry install
pre-commit install
```

or
Expand Down Expand Up @@ -223,10 +221,6 @@ make generate-client-libs
```
> ⚠️ The first run requires `sudo` as it must download a Java .jar file to the system npm package folder.
### Before you commit

This project uses [pre-commit](https://pre-commit.com) to keep the source code structured. Please make sure to run either `make pre_commit` or `pre-commit run --all-files`. The CI pipeline will reject pull requests that fail this step. This step helps to ensures that the source code is formatted consistently and pull requests are as tidy as possible.

### [Swagger / OpenAPI](https://swagger.io)

Once the API is running swagger docs can be found here:
Expand Down
163 changes: 1 addition & 162 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ black = "^24.3.0"
pytest = "^8.0.1"
pytest-asyncio = "^0.23.5"
coverage = "^7.4.2"
pre-commit = "^3.6.2"
isort = "^5.13.2"
ruff = "^0.1.15"
ruff-lsp = "^0.0.52"
Expand Down

0 comments on commit d3902e1

Please sign in to comment.