Laurens Valk
bd7806d2d4
all: Format with black.
...
Also activate auto formatting. Bump flake8 and mark black
disagreements in setup.cfg.
2022-05-27 16:22:05 +02:00
David Lechner
9d8531a85b
npm/ide-docs: move npm packaging to separate directory
...
This makes a clean separation between the packaging and the docs.
2021-11-19 19:30:57 -06:00
Laurens Valk
238204d280
doc/main: Rename from doc/api.
...
The doc/api is a legacy name, which is confusing in the current use, since all build targets are now APIs.
Today we have:
doc/common: Common configuration and settings between all targets.
doc/main: Main Pybricks documentation at docs.pybricks.com.
doc/ide: Documentation shipped with the Pybricks Code IDE.
2021-07-14 11:39:20 +02:00
David Lechner
ff22c32c24
doc/api/signaltypes: use ^{\circ} instead of ° in :math:
...
This works for both sphinx.ext.mathjax and sphinx.ext.imgmath.
2021-01-26 08:30:48 +01:00
David Lechner
3a66b8e053
api: add type hints for v2
...
This adds PEP 561 style type hints for Pybricks v2 (just EV3).
2020-12-28 18:47:04 -06:00
David Lechner
e3d0d51c9f
config: drop versioneer
...
This removes versioneer for versioning. The version depends on the
pybricks-micropython version targeted so it doesn't make sense to use
automatic versioning here.
2020-03-18 17:30:42 -05:00
David Lechner
3e8f311860
config: drop setup.py
...
poetry is used for build system, so setup.py is no longer needed
2020-03-18 17:19:48 -05:00
Laurens Valk
9c8df9941f
config: let doc8 ignore egg info
2020-03-17 15:37:20 +01:00
David Lechner
7acbcbd874
initial EV3 bluetooth mailbox docs
2020-02-12 09:55:28 +01:00
David Lechner
c008c4ca09
flake8: allow longer lines
...
This increase max-line-length to 88 because somtimes it is nicer to have
just a few extra characters.
2020-01-13 12:59:07 -06:00
David Lechner
125732238c
setup: add options for linters
2019-05-09 12:21:17 -05:00
Laurens Valk
3091489843
move API
2019-05-09 17:15:52 +02:00