8000 GitHub - jimgar/makefile-demo: A makefile demo based on https://calmcode.io/course/makefiles/the-problem
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jimgar/makefile-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Makefile demo

A demo project from calmcode

Created with Python 3.12.6.

In this project there is a single simple function in common.py.

Commonly run tasks during development are

  • Linting, provided by flake8
  • Unit testing, by pytest
  • Generating HTML docs, by pdoc3

The Makefile wraps up these commonly run tasks for convenience, so that you can e.g. make check to run linting, tests, and docs in one fell swoop.

Use

Set up a virtual environment

python -m venv .venv
source .venv/bin/activate

Install dev requirements

make dev

Available rules

For a full list of rules in the Makefile and their outcomes

make help

About

A makefile demo based on https://calmcode.io/course/makefiles/the-problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0