@shepherd23/nx-preset-py-standalone
v0.5.1
Published
This is a template for a python standalone project.
Downloads
7
Readme
@shepherd23/nx-preset-py-standalone
This is a template for a python standalone project.
The standalone includes:
- poetry as the package manager
- python as the programming language
- pre-commit as the git hook manager
- commitizen as the commit message helper
- black as the code formatter
- flake8 as the linter
- Github Actions as the CI/CD tool.
Template files
See ./files
for the template files.
Usage
# `pnpm dlx` is equivalent to `npx`
pnpm dlx create-nx-workspace @shepherd23/nx-preset-py-standalone <project-name>
# Navigate to the project
cd <project-name>
# Install dependencies
poetry install
# Install git hooks
poetry run pre-commit install
Arguments
[Required] project-name
The name of the project to generate.