Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analyse statique dans la CI #12

Open
5 tasks
loicguillois opened this issue May 25, 2022 · 3 comments
Open
5 tasks

Analyse statique dans la CI #12

loicguillois opened this issue May 25, 2022 · 3 comments

Comments

@loicguillois
Copy link

Réglages plutôt stricts qu'on relâchera au besoin:

  • black (formatage du code, aide à avoir des diff plus lisibles, moins de bruit sur les PR)
  • isort (tri les imports)
  • pylint (vérifie l'application de règles recommandées par la communauté et de l'équipe)
  • mypy (vérifie le typage statique: permet l'autocomplétion, cohérence du code)
  • prettier ? (idem black pour les autres formats : YAML, TOML, JSON, Markdown...)
@loicguillois
Copy link
Author

@loicguillois
Copy link
Author

pyproject.toml

[tool.pylint.MASTER]
ignore="stats"
disable="missing-module-docstring, missing-class-docstring, missing-function-docstring"
load-plugins="pylint_django"

@loicguillois
Copy link
Author

PDFGenerator/http/dev-requirements.in

--constraint=requirements.txt

pre-commit
pylint
pylint-django

@JulieMoncorger JulieMoncorger transferred this issue from another repository Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant