WIP: linter setup
This commit is contained in:
parent
2a3538ac9e
commit
a9fec56176
5 changed files with 274 additions and 0 deletions
26
README.md
26
README.md
|
@ -22,6 +22,32 @@ A custom TRMNL plugin that fetches and displays weather and pollen data.
|
|||
fastapi run main.py --port 8887
|
||||
```
|
||||
|
||||
## Development
|
||||
|
||||
### Install Development Dependencies
|
||||
|
||||
```bash
|
||||
make dev-install
|
||||
```
|
||||
|
||||
### Code Quality
|
||||
|
||||
This project uses [Ruff](https://docs.astral.sh/ruff/) for linting and formatting.
|
||||
|
||||
**Available commands:**
|
||||
|
||||
```bash
|
||||
make lint
|
||||
|
||||
make format
|
||||
|
||||
make lint-fix
|
||||
|
||||
make check
|
||||
|
||||
make clean
|
||||
```
|
||||
|
||||
## Docker
|
||||
|
||||
Build and run with Docker:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue