templates: add python-project #10

Merged
DavHau merged 1 commits from python-template into main 2023-07-20 15:49:45 +00:00
Owner

We can use this for python scripts and projects we build

features:

  • shell.nix:
    • all dev tools included
    • python package installed in editable mode
    • all python entry points in $PATH
  • .envrc: enter devshell when entering directory
  • black: formatting
  • ruff: lint and fix
  • pytest: execute unit tests
    • example unit tests included
  • coverage: report test coverage
  • flake-module.nix:
    • exposes package and tests
We can use this for python scripts and projects we build features: - shell.nix: - all dev tools included - python package installed in editable mode - all python entry points in $PATH - .envrc: enter devshell when entering directory - black: formatting - ruff: lint and fix - pytest: execute unit tests - example unit tests included - coverage: report test coverage - flake-module.nix: - exposes package and tests
DavHau added 1 commit 2023-07-20 15:47:47 +00:00
features:
- shell.nix:
  - all dev tools included
  - python package installed in editable mode
  - all python entry points in $PATH
- .envrc: enter devshell when entering directory
- black: formatting
- ruff: lint and fix
- pytest: execute unit tests
  - example unit tests included
- coverage: report test coverage
- flake-module.nix:
  - exposes package and tests
lassulus was assigned by DavHau 2023-07-20 15:47:58 +00:00
lassulus was unassigned by DavHau 2023-07-20 15:48:03 +00:00
DavHau requested review from lassulus 2023-07-20 15:48:08 +00:00
DavHau requested review from Mic92 2023-07-20 15:48:10 +00:00
DavHau merged commit eaaf0d2992 into main 2023-07-20 15:49:45 +00:00
DavHau deleted branch python-template 2023-07-20 15:56:17 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: clan/clan-core#10
No description provided.