Skip to content

Commit 27ec269

Browse files
authored
Merge pull request #36 from dadocracia/feat/template-update
Feat/template update
2 parents 3dbc536 + fe75670 commit 27ec269

File tree

7 files changed

+600
-347
lines changed

7 files changed

+600
-347
lines changed

.devcontainer/devcontainer.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/python
3+
{
4+
"name": "Python 3",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/python:2-3.12-bookworm",
7+
"features": {
8+
"ghcr.io/devcontainers/features/github-cli:1": {}
9+
},
10+
"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",
11+
"remoteEnv": {
12+
"PATH": "${containerEnv:PATH}:/home/vscode/.local/bin"
13+
},
14+
"customizations": {
15+
"vscode": {
16+
"extensions": [
17+
"dracula-theme.theme-dracula",
18+
"PKief.material-icon-theme",
19+
"vivaxy.vscode-conventional-commits",
20+
"ms-python.python",
21+
"charliermarsh.ruff"
22+
],
23+
"settings": {
24+
"python.defaultInterpreterPath": ".venv/bin/python"
25+
}
26+
}
27+
}
28+
}

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for more information:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
# https://containers.dev/guide/dependabot
6+
7+
version: 2
8+
updates:
9+
- package-ecosystem: "devcontainers"
10+
directory: "/"
11+
schedule:
12+
interval: weekly
13+
14+
- package-ecosystem: "pip"
15+
directory: "/"
16+
schedule:
17+
interval: weekly

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# macOS
2+
.DS_Store
3+
14
# Byte-compiled / optimized / DLL files
25
__pycache__/
36
*.py[cod]

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ repos:
1515

1616
- id: check-json
1717
name: Verificação de Arquivos JSON
18+
exclude: '.devcontainer/devcontainer.json'
1819

1920
- id: check-toml
2021
name: Verificação de Arquivos TOML
@@ -44,6 +45,7 @@ repos:
4445
- id: pretty-format-json
4546
name: Formata Arquivos JSON
4647
args: [--indent]
48+
exclude: '.devcontainer/devcontainer.json'
4749

4850
- id: requirements-txt-fixer
4951
name: Ordena Importações dos Requirements.txt

.python-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

pyproject.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@ description = "Esse repositório foi criado com o propósito de servir como um t
55
readme = "README.md"
66
requires-python = ">=3.12"
77
dependencies = [
8-
"mypy>=1.11.2",
9-
"ruff>=0.6.7",
10-
"taskipy>=1.13.0",
8+
"mypy>=1.14.1",
9+
"ruff>=0.9.1",
10+
"taskipy>=1.14.1",
1111
]
1212

1313
[tool.uv]
1414
dev-dependencies = [
1515
"interrogate>=1.7.0",
1616
"mkdocs-glightbox>=0.4.0",
17-
"mkdocs-material>=9.5.36",
18-
"mkdocstrings-python>=1.11.1",
19-
"mkdocstrings>=0.26.1",
20-
"pre-commit>=3.8.0",
21-
"pytest-cov>=5.0.0",
22-
"pytest-randomly>=3.15.0",
23-
"pytest>=8.3.3",
17+
"mkdocs-material>=9.6.2",
18+
"mkdocstrings-python>=1.14.1",
19+
"mkdocstrings>=0.27.0",
20+
"pre-commit>=4.0.1",
21+
"pytest-cov>=6.0.0",
22+
"pytest-randomly>=3.16.0",
23+
"pytest>=8.3.4",
2424
]
2525

2626
[tool.interrogate]

uv.lock

Lines changed: 540 additions & 336 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)