Skip to content

Commit 8f2179f

Browse files
committed
ajuste estrutura conforme cursor
1 parent 2181e2f commit 8f2179f

20 files changed

Lines changed: 2753 additions & 413 deletions

.gitignore

Lines changed: 120 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
*.pyc
21
# Byte-compiled / optimized / DLL files
32
__pycache__/
43
*.py[cod]
@@ -9,7 +8,6 @@ __pycache__/
98

109
# Distribution / packaging
1110
.Python
12-
env/
1311
build/
1412
develop-eggs/
1513
dist/
@@ -21,9 +19,12 @@ lib64/
2119
parts/
2220
sdist/
2321
var/
22+
wheels/
23+
share/python-wheels/
2424
*.egg-info/
2525
.installed.cfg
2626
*.egg
27+
MANIFEST
2728

2829
# PyInstaller
2930
# Usually these files are written by a python script from a template
@@ -38,28 +39,142 @@ pip-delete-this-directory.txt
3839
# Unit test / coverage reports
3940
htmlcov/
4041
.tox/
42+
.nox/
4143
.coverage
4244
.coverage.*
4345
.cache
4446
nosetests.xml
4547
coverage.xml
46-
*,cover
48+
*.cover
49+
*.py,cover
4750
.hypothesis/
51+
.pytest_cache/
52+
cover/
4853

4954
# Translations
5055
*.mo
5156
*.pot
5257

5358
# Django stuff:
5459
*.log
60+
local_settings.py
61+
db.sqlite3
62+
db.sqlite3-journal
63+
64+
# Flask stuff:
65+
instance/
66+
.webassets-cache
67+
68+
# Scrapy stuff:
69+
.scrapy
5570

5671
# Sphinx documentation
5772
docs/_build/
5873

5974
# PyBuilder
75+
.pybuilder/
6076
target/
6177

62-
#Ipython Notebook
78+
# Jupyter Notebook
6379
.ipynb_checkpoints
6480

65-
.idea
81+
# IPython
82+
profile_default/
83+
ipython_config.py
84+
85+
# pyenv
86+
# For a library or package, you might want to ignore these files since the code is
87+
# intended to run in multiple environments; otherwise, check them in:
88+
# .python-version
89+
90+
# pipenv
91+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
93+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
94+
# install all needed dependencies.
95+
#Pipfile.lock
96+
97+
# poetry
98+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99+
# This is especially recommended for binary packages to ensure reproducibility, and is more
100+
# commonly ignored for libraries.
101+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102+
#poetry.lock
103+
104+
# pdm
105+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106+
#pdm.lock
107+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108+
# in version control.
109+
# https://pdm.fming.dev/#use-with-ide
110+
.pdm.toml
111+
112+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113+
__pypackages__/
114+
115+
# Celery stuff
116+
celerybeat-schedule
117+
celerybeat.pid
118+
119+
# SageMath parsed files
120+
*.sage.py
121+
122+
# Environments
123+
.env
124+
.venv
125+
env/
126+
venv/
127+
ENV/
128+
env.bak/
129+
venv.bak/
130+
131+
# Spyder project settings
132+
.spyderproject
133+
.spyproject
134+
135+
# Rope project settings
136+
.ropeproject
137+
138+
# mkdocs documentation
139+
/site
140+
141+
# mypy
142+
.mypy_cache/
143+
.dmypy.json
144+
dmypy.json
145+
146+
# Pyre type checker
147+
.pyre/
148+
149+
# pytype static type analyzer
150+
.pytype/
151+
152+
# Cython debug symbols
153+
cython_debug/
154+
155+
# PyCharm
156+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157+
# be added to the global gitignore or merged into this project gitignore. For a PyCharm
158+
# project, it is recommended to include the following files:
159+
# .idea/
160+
# *.iml
161+
# *.ipr
162+
# *.iws
163+
164+
# VS Code
165+
.vscode/
166+
167+
# macOS
168+
.DS_Store
169+
170+
# Windows
171+
Thumbs.db
172+
ehthumbs.db
173+
Desktop.ini
174+
175+
# Linux
176+
*~
177+
178+
# Temporary files
179+
*.tmp
180+
*.temp

.pre-commit-config.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.5.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: end-of-file-fixer
7+
- id: check-yaml
8+
- id: check-added-large-files
9+
- id: check-merge-conflict
10+
- id: debug-statements
11+
12+
- repo: https://github.com/psf/black
13+
rev: 23.12.1
14+
hooks:
15+
- id: black
16+
language_version: python3
17+
18+
- repo: https://github.com/pycqa/isort
19+
rev: 5.13.2
20+
hooks:
21+
- id: isort
22+
args: ["--profile", "black"]
23+
24+
- repo: https://github.com/pycqa/flake8
25+
rev: 7.0.0
26+
hooks:
27+
- id: flake8
28+
args: [--max-line-length=88, --extend-ignore=E203,W503]
29+
30+
- repo: https://github.com/pre-commit/mirrors-mypy
31+
rev: v1.8.0
32+
hooks:
33+
- id: mypy
34+
additional_dependencies: [types-all]

0 commit comments

Comments
 (0)