Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from prefeitura-rio/new-api
Browse files Browse the repository at this point in the history
New api
  • Loading branch information
gabriel-milan authored Feb 7, 2024
2 parents 2175b03 + ca7dadb commit ab6c1fe
Show file tree
Hide file tree
Showing 17 changed files with 4,279 additions and 268 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VISION_API_USERNAME=
VISION_API_PASSWORD=
26 changes: 26 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files # prevents adding large files
- id: detect-private-key # detects private keys
- id: fix-byte-order-marker # fixes BOM
- id: fix-encoding-pragma # fixes encoding pragma
- id: no-commit-to-branch # prevents committing to protected branches
- id: trailing-whitespace # prevents trailing whitespace

- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
- id: black
language_version: python3.10

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
# Detecção de alagamentos

## Develop


`poetry install --no-root`

Add .env vars missing from .env.example.

`export POETRY_DOTENV_LOCATION=.env && streamlit run app/📣\ Home.py`
Loading

0 comments on commit ab6c1fe

Please sign in to comment.