Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(backend)!: pagination, geometries #9

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,10 @@ node_modules/

# dotenv environment variables file
.env

# Python cache
__pycache__
.mypy_cache

# Python version
*/.python-version
2 changes: 2 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[settings]
known_third_party = api_types,firebase_admin,flask,flask_cors,loguru,psycopg,pydantic,typing_extensions
47 changes: 47 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: mixed-line-ending
args: [--fix=lf]

- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
hooks:
- id: pyupgrade
args: [--py310-plus]
- repo: https://github.com/hadialqattan/pycln
rev: v2.3.0
hooks:
- id: pycln
- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
- id: seed-isort-config
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
args: [--profile, black]

- repo: https://github.com/psf/black
rev: 23.10.1
hooks:
- id: black
language_version: python3.10
- repo: https://github.com/asottile/blacken-docs
rev: 1.16.0
hooks:
- id: blacken-docs
additional_dependencies: [black==24.4.2]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
hooks:
- id: mypy
7 changes: 6 additions & 1 deletion api/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ name = "pypi"

[packages]
flask = "*"
psycopg2 = "*"
flask-cors = "*"
gunicorn = "*"
loguru = "*"
firebase-admin = "*"
psycopg = {extras = ["c"] }
pydantic = "*"

[dev-packages]
pre-commit = "*"
mypy = "*"
types-all = "*"

[requires]
python_version = "3.10"
2,045 changes: 1,789 additions & 256 deletions api/Pipfile.lock

Large diffs are not rendered by default.

Loading