Lab-Lab-Lab / Lab-Lab-Lab/cpr-dev

DX: use a pre-commit hook to press commiters to ensure codestyle is consistent

Offen
#49 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@JoshuaAHairston arbeitet bereits daran.

Seit 06.9.2024.

Vorherrschende Sprache
Shell
Sterne
0
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

  1. do we really want a client-side pre-commit hook to enforce formatting? (maybe not because then we can't "save" our progress)
  2. definitely want something for when a PR is opened to either autoformat, or add a comment/error something that the requester should format their code before expecting the PR to be reviewed
  3. start by ensuring that the python black formatter is running for you in vscode, and figure out the commandline to make it run against all python files in the backend and open a pr to merge the formatted version

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.