badgerdoc icon indicating copy to clipboard operation
badgerdoc copied to clipboard

Unify code formatting, static analysers and linters for all microservices

Open khyurri opened this issue 1 year ago • 0 comments

We're going to use:

  • black as formatting tool with 79 symbols per line
  • strict pylint
  • strict mypy

During this task we need to add formatters and linters into GitHub actions and into pre-commit hooks for all microservices

Black added to [@cakeinsauce]

  • [x] annotation microservice (pre-commit and GitHub actions)
  • [x] assets microservice (pre-commit and GitHub actions)
  • [x] common libraries (pre-commit and GitHub actions)
  • [x] convert microservice (pre-commit and GitHub actions)
  • [x] jobs microservice (pre-commit and GitHub actions)
  • [x] pipelines microservice (pre-commit and GitHub actions)
  • [x] processing microservice (pre-commit and GitHub actions)
  • [x] taxonomy microservice (pre-commit and GitHub actions)
  • [x] users microservice (pre-commit and GitHub actions)

Isort added to [@cakeinsauce]

  • [x] annotation microservice (pre-commit and GitHub actions)
  • [x] assets microservice (pre-commit and GitHub actions)
  • [x] common libraries (pre-commit and GitHub actions)
  • [x] convert microservice (pre-commit and GitHub actions)
  • [x] jobs microservice (pre-commit and GitHub actions)
  • [x] pipelines microservice (pre-commit and GitHub actions)
  • [x] processing microservice (pre-commit and GitHub actions)
  • [x] taxonomy microservice (pre-commit and GitHub actions)
  • [x] users microservice (pre-commit and GitHub actions)

Pylint added to

  • [ ] annotation microservice (pre-commit and GitHub actions)
  • [ ] assets microservice (pre-commit and GitHub actions)
  • [ ] common libraries (pre-commit and GitHub actions)
  • [ ] convert microservice (pre-commit and GitHub actions)
  • [ ] jobs microservice (pre-commit and GitHub actions)
  • [ ] pipelines microservice (pre-commit and GitHub actions)
  • [ ] processing microservice (pre-commit and GitHub actions)
  • [ ] taxonomy microservice (pre-commit and GitHub actions)
  • [ ] users microservice (pre-commit and GitHub actions)

Mypy added to

  • [ ] annotation microservice (pre-commit and GitHub actions)
  • [ ] assets microservice (pre-commit and GitHub actions)
  • [ ] common libraries (pre-commit and GitHub actions)
  • [ ] convert microservice (pre-commit and GitHub actions)
  • [ ] jobs microservice (pre-commit and GitHub actions)
  • [ ] pipelines microservice (pre-commit and GitHub actions)
  • [ ] processing microservice (pre-commit and GitHub actions)
  • [ ] taxonomy microservice (pre-commit and GitHub actions)
  • [ ] users microservice (pre-commit and GitHub actions)

khyurri avatar Dec 15 '23 13:12 khyurri