Skip to content

Commit

Permalink
feat: dropped flake8 in favor of ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
brizzbuzz committed Nov 3, 2022
1 parent 98a60ee commit 7d67dec
Show file tree
Hide file tree
Showing 6 changed files with 533 additions and 524 deletions.
12 changes: 0 additions & 12 deletions .flake8

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pip-log.txt
.coverage
.tox
.pytest_cache
.ruff_cache

.DS_Store
.idea/*
Expand All @@ -42,4 +43,4 @@ pip-wheel-metadata
poetry/core/*

# IDEs
.idea
.idea
29 changes: 12 additions & 17 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,24 @@ fail_fast: false
repos:
- repo: local
hooks:
- id: system
- id: black
name: Black
entry: poetry run black .
entry: black src
pass_filenames: false
language: system
- repo: local
hooks:
- id: system
- id: isort
name: isort
entry: poetry run isort .
pass_filenames: false
language: system
- repo: local
hooks:
- id: system
name: flake8
entry: poetry run flake8 .
entry: isort src
pass_filenames: false
language: system
- repo: local
hooks:
- id: system
- id: ruff
name: ruff
entry: ruff
files: src
language: python
"types": [ python ]
- id: pytest
name: tests
entry: poetry run pytest
entry: pytest
pass_filenames: false
language: system
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3' # FOR LOCAL DEV USE ONLY
services:
postgres:
image: postgres:14
image: postgres:15
environment:
- POSTGRES_USER=test_user
- POSTGRES_PASSWORD=test_password
Expand Down
Loading

0 comments on commit 7d67dec

Please sign in to comment.