File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55Basic continuous integration and deployment (CI/CD) workflow for Python packages.
66
7- - checks formatting (black)
7+ - checks formatting (black, isort )
88- checks linting (ruff)
99- run unit tests (pytest)
1010- optional: add c extensions to a package
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ version: 2
77
88# Set the OS, Python version and other tools you might need
99build :
10- os : ubuntu-22 .04
10+ os : ubuntu-24 .04
1111 tools :
12- python : " 3.11 "
12+ python : " 3.13 "
1313 # You can also specify other tool versions:
1414 # nodejs: "19"
1515 # rust: "1.64"
Original file line number Diff line number Diff line change 11# Docs creation
22
3- In order to build the docs you need to
3+ In order to build the docs you need to
44
5- 1 . install sphinx and additional support packages
6- 2 . build the package reference files
7- 3 . run sphinx to create a local html version
5+ 1 . install sphinx and additional support packages
6+ 2 . build the package reference files
7+ 3 . run sphinx to create a local html version
88
99The documentation is build using readthedocs automatically.
1010
@@ -17,12 +17,13 @@ pip install ".[docs]"
1717
1818## Build docs using Sphinx command line tools
1919
20- Command to be run from ` path/to/docs ` , i.e. from within the ` docs ` package folder:
20+ Command to be run from ` path/to/docs ` , i.e. from within the ` docs ` package folder:
2121
2222Options:
23- - ` --separate ` to build separate pages for each (sub-)module
2423
25- ``` bash
24+ - ` --separate ` to build separate pages for each (sub-)module
25+
26+ ``` bash
2627# pwd: docs
2728# apidoc
2829sphinx-apidoc --force --implicit-namespaces --module-first -o reference ../src/python_package
You can’t perform that action at this time.
0 commit comments