Skip to content
Merged
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
28 changes: 28 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python 3",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/python:2-3.12-bookworm",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"postCreateCommand": "curl -LsSf https://astral.sh/uv/install.sh | sh && export PATH=\"$HOME/.local/bin:$PATH\" && uv sync && uv tool install pre-commit && pre-commit install",
"remoteEnv": {
"PATH": "${containerEnv:PATH}:/home/vscode/.local/bin"
},
"customizations": {
"vscode": {
"extensions": [
"dracula-theme.theme-dracula",
"PKief.material-icon-theme",
"vivaxy.vscode-conventional-commits",
"ms-python.python",
"charliermarsh.ruff"
],
"settings": {
"python.defaultInterpreterPath": ".venv/bin/python"
}
}
}
}
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly

- package-ecosystem: "pip"
directory: "/"
schedule:
interval: weekly
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# macOS
.DS_Store

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ repos:

- id: check-json
name: Verificação de Arquivos JSON
exclude: '.devcontainer/devcontainer.json'

- id: check-toml
name: Verificação de Arquivos TOML
Expand Down Expand Up @@ -44,6 +45,7 @@ repos:
- id: pretty-format-json
name: Formata Arquivos JSON
args: [--indent]
exclude: '.devcontainer/devcontainer.json'

- id: requirements-txt-fixer
name: Ordena Importações dos Requirements.txt
Expand Down
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ description = "Esse repositório foi criado com o propósito de servir como um t
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"mypy>=1.11.2",
"ruff>=0.6.7",
"taskipy>=1.13.0",
"mypy>=1.14.1",
"ruff>=0.9.1",
"taskipy>=1.14.1",
]

[tool.uv]
dev-dependencies = [
"interrogate>=1.7.0",
"mkdocs-glightbox>=0.4.0",
"mkdocs-material>=9.5.36",
"mkdocstrings-python>=1.11.1",
"mkdocstrings>=0.26.1",
"pre-commit>=3.8.0",
"pytest-cov>=5.0.0",
"pytest-randomly>=3.15.0",
"pytest>=8.3.3",
"mkdocs-material>=9.6.2",
"mkdocstrings-python>=1.14.1",
"mkdocstrings>=0.27.0",
"pre-commit>=4.0.1",
"pytest-cov>=6.0.0",
"pytest-randomly>=3.16.0",
"pytest>=8.3.4",
]

[tool.interrogate]
Expand Down
876 changes: 540 additions & 336 deletions uv.lock

Large diffs are not rendered by default.