Contribuições são bem-vindas! Este guia ajudará você a começar.
Reporte bugs em https://github.com/ivanjun10r/django_govbr_theme/issues.
Inclua:
- Sistema operacional e versão
- Versão do Python e Django
- Passos para reproduzir o bug
Abra uma issue descrevendo:
- O que a feature faria
- Por que seria útil
- Como funcionaria
- Fork o projeto
- Crie uma branch para sua feature (
git checkout -b feature/MinhaFeature) - Commit suas mudanças (
git commit -m 'Adiciona MinhaFeature') - Push para a branch (
git push origin feature/MinhaFeature) - Abra um Pull Request
# Fork e clone
git clone git@github.com:seu_usuario/django_govbr_theme.git
cd django_govbr_theme
# Ambiente virtual
pyenv virtualenv 3.12 django_govbr_theme
pyenv activate django_govbr_theme
# Instalar
pip install -e '.[test,dev]'
npm install
# Pre-commit hooks
pre-commit install# Executar testes
pytest
# Com coverage
pytest --cov=django_govbr_theme
# Tox (múltiplas versões)
tox# Formatar
ruff format .
# Verificar
ruff check .
# Pre-commit
pre-commit run --all-filesSeguimos Semantic Versioning:
- MAJOR: Mudanças incompatíveis
- MINOR: Novas funcionalidades compatíveis
- PATCH: Correções de bugs
- Escreva testes para novas features
- Mantenha cobertura de testes alta
- Siga PEP 8
- Documente código complexo
- Atualize documentação quando necessário
Participe com respeito. Veja CODE_OF_CONDUCT.md.
Abra uma issue ou entre em contato!