Skip to content

kitsuyui/pypi-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pypi-playground

What is this?

This is a repository for creating sample code for publishing to PyPI. I manage multiple Python projects, but the configuration for publishing them to PyPI is almost the same. In this playground, I experiment with them, and configure them to speed up CI and make project management easier.

Usage

Install dependencies

Install dependencies with poetry.

poetry install

Run tests

poetry poe test

Format

poetry poe format
  • isort for import sorting
  • black for formatting
  • pyupgrade for upgrading syntax to the latest version of Python

Lint

poetry poe check
  • mypy for static type checking
  • flake8 for linting
  • black for formatting check
  • isort for import sorting check

LICENSE

BSD 3-Clause License