Skip to main content

Development tools for template authors using Flexlate

Project description

PyPI PyPI - License Documentation Tests Run on Ubuntu Python Versions Github Repo

flexlate-dev

Overview

Development tools for template authors using Flexlate

Getting Started

Install flexlate-dev:

pip install flexlate-dev

A simple example:

import flexlate_dev

# Do something with flexlate_dev

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flexlate_dev-0.21.0.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flexlate_dev-0.21.0-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file flexlate_dev-0.21.0.tar.gz.

File metadata

  • Download URL: flexlate_dev-0.21.0.tar.gz
  • Upload date:
  • Size: 20.9 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

Hashes for flexlate_dev-0.21.0.tar.gz
Algorithm Hash digest
SHA256 223fb970a4ca91260d5165b38c0cce0d663e6284b054ae3bec93bd8096d111cb
MD5 18c5a16c3ad90d4a4630199f406bd24a
BLAKE2b-256 727978d3eb394ec251ee6d600db9c52cdb0e56528ee87833a009d5c37dcb6dfc

See more details on using hashes here.

File details

Details for the file flexlate_dev-0.21.0-py3-none-any.whl.

File metadata

  • Download URL: flexlate_dev-0.21.0-py3-none-any.whl
  • Upload date:
  • Size: 27.3 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

Hashes for flexlate_dev-0.21.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd93ed8d89dc8b20aee7b3d16f320098fc4fdeed1f20a0665f11ec433b024c3a
MD5 df130c0e163ba645962d366a6572b768
BLAKE2b-256 abe9eed1c534801084a8b54381b027971b014e4e730b5a72d694a1ee6a2ab7d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page