Skip to content

Code quality and best practices  #294

Open

Description

@soxofaan

A couple of notes and ideas on how to improve code quality and adopt best practices

  • start using black for code formatting
  • lot of interesting pointers in the "Hypermodern Python" blog series and the related cookiecutter template, for example
    • the furo for docs looks very nice compared to the default sphinx theme we currently use
    • pre-commit with some basic lint/flake8/isort checks
  • simplify the release procedure and automate it more (e.g. git tag based automated release)
  • switch to src layout
  • add a documentation page with code style recommendations, focused on openEO usage patterns.

Activity

  1. soxofaan commented on Jul 1, 2022

    @soxofaan
    MemberAuthor

    started with initial code style, best practices doc page in a50f5bb

  2. added a commit that references this issue on Sep 30, 2022
  3. added a commit that references this issue on Dec 13, 2022
  4. soxofaan commented on Dec 13, 2022

    @soxofaan
    MemberAuthor

    Started playing with pre-commit hook in 01f5256 for linting/code style cleanups

  5. soxofaan commented on Dec 13, 2022

    @soxofaan
    MemberAuthor

    Another thing to (re)consider: the current lint-and-test action, runs the lint check against all supported python version (3.6 to 3.11), which is a bit overkill. Better just do the linting (e.g. using pre-commit settings) in a separate action on single python version?

  6. added a commit that references this issue on Jan 4, 2023
  7. added 2 commits that reference this issue on Jan 19, 2023
  8. added 2 commits that reference this issue on Feb 8, 2023
  9. 3 remaining items

  10. added a commit that references this issue on Jul 13, 2023
  11. added 3 commits that reference this issue on Aug 28, 2023
  12. added a commit that references this issue on Oct 27, 2023
  13. added 3 commits that reference this issue on Apr 9, 2024
  14. added a commit that references this issue on Mar 25, 2025
  15. soxofaan commented on Mar 25, 2025

    @soxofaan
    MemberAuthor

    did a run of blacken-docs and cherry-picked most improvements in 5e17e18

  16. added 2 commits that reference this issue on Sep 9, 2025
  17. added a commit that references this issue on Jul 3, 2026
  18. added a commit that references this issue on Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions