Example output for https://github.com/nickderobertis/copier-pypi-sphinx-flexlate
Project description
pypi-sphinx-flexlate-example
Overview
Example output for https://github.com/nickderobertis/copier-pypi-sphinx-flexlate
Getting Started
Install pypi-sphinx-flexlate-example
:
pip install pypi-sphinx-flexlate-example
A simple example:
import pypi_sphinx_flexlate_example
# Do something with pypi_sphinx_flexlate_example
See a more in-depth tutorial here.
Links
See the documentation here.
Development Status
This project is currently in early-stage development. There may be breaking changes often. While the major version is 0, minor version upgrades will often have breaking changes.
Developing
Initial Setup
First, you need a couple global dependencies installed, see their documentation for details:
Note that these tools require a UNIX-style shell, such as bash or zsh. If you are on Windows, you can use WSL or Git Bash. If you are using Pycharm, you can configure the built-in terminal to use Git Bash.
Then clone the repo and run direnv allow
. This will take a while on the first time
to install the remaining dependencies.
Day to Day Development
Make your changes and then run just
to run formatting,
linting, and tests.
Develop documentation by running just docs
to start up a dev server.
To run tests only, run just test
. You can pass additional arguments to pytest,
e.g. just test -k test_something
.
Prior to committing, you can run just
with no arguments to run all the checks.
Conventional Commits & Semantic Release
This project uses conventional commits to power semantic release. This means that when you commit, you should use the following format:
<type>[optional scope]: <description>
For example, feat: Add new feature
or fix: Fix bug
.
When creating a PR, please name the PR in this way as well so that the squashed commit from the PR will have a conventional commit message.
Pre-commit Hooks
This project uses Husky and Lint-staged to run pre-commit hooks. This means that
when you commit, it will run just format
and just strip
on the files
you edited, and also check that your commit message is a conventional commit.
If you are not able to commit, it is likely because your commit message is not in the conventional commit format.
Author
Created by Nick DeRobertis. MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pypi_sphinx_flexlate_example-0.72.0.tar.gz
.
File metadata
- Download URL: pypi_sphinx_flexlate_example-0.72.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/5.15.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d106039c0313f08d56fbcbe400e9641806ebbb5d9ff22d6da609176db193ec3 |
|
MD5 | b0989e85ee3a56d092418378d38b0e88 |
|
BLAKE2b-256 | 8ed22aca12f8cb31cb9ef36a4d9f6f4a092e60d8812623cb29a668639e29f17a |
File details
Details for the file pypi_sphinx_flexlate_example-0.72.0-py3-none-any.whl
.
File metadata
- Download URL: pypi_sphinx_flexlate_example-0.72.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/5.15.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1382427fa3cafa9fb43804eb02c309655e26c2aa84ff25dc9d81d2f0c19b75b |
|
MD5 | 62f0a7c6398a53e7e287a74129d1112a |
|
BLAKE2b-256 | 4f3bbd732229094149c2cb939dc760a62ae77bc6547dc8a94e4039f0ea5108c5 |