David Lechner
7de67852f7
vscode: change to ms-python.black-formatter
...
Microsoft is breaking out various Python tools into separate extensions.
2023-05-10 13:43:49 -05:00
Laurens Valk
666f2a6b52
.vscode/settings: Set interpreter path.
...
This way vscode will pick up all the right tools and not complain about
linters not being installed.
2022-11-28 11:07:50 +01:00
The Vinh Luong (Lương Thế Vinh) and GitHub
dcddf15d15
flake8: Update VSCode settings and suppress some Flake8 linting warnings.
...
* update VSCode settings to exclude __pycache__
* suppress some Flake8 linting warnings
* minor fix: SPHINX_BUILD env var may not be set
* decorate _PybricksEnumMeta.__dir__() with @classmethod
* flake8-ignore E501
2022-09-05 18:40:39 -05:00
David Lechner
a758eaa1db
github/build: don't run build on tags
...
This is almost always redundant.
2022-06-24 15:37:59 -05:00
David Lechner
a2d9c33eb5
jedi: add new pybricks_jedi package
...
This package will be used in Pybricks Code to provide some intellesense
operations.
2022-06-24 14:52:45 -05:00
David Lechner
34992d5b20
vscode: drop deprecated setting
...
This setting no longer has any effect.
2022-06-09 19:25:21 -05:00
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
Laurens Valk
5e09a6f1bd
.vscode/settings: Add rewrap setting.
...
Now we can press Alt+Q to hard (re)wrap comments and docstrings.
2022-05-09 10:28:39 +02: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 and 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
Laurens Valk
ede503f6fe
config: rename CPlusHub to TechnicHub
...
This replaces the name in internal files.
2020-10-09 19:16:33 +02:00
Laurens Valk
b0e5ae9f0f
config: do not spell sphinx directives
2020-05-19 11:20:18 +02:00
Laurens Valk
a90cc4f10f
config: fix spell check document types
...
Spell checking stopped working previously. This appears to fix it.
2020-05-19 10:48:45 +02: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
13845c9c08
vscode: associate .inc files with ReST
2020-03-06 13:05:06 -06:00
Laurens Valk
6278aeb1b6
doc/builtins: drop simplemotor
...
Now that we have reduced the complexity of the docstrings and after moving the control settings to a separate page, it is no longer necessary to have simplified motor docs.
2020-01-28 17:51:23 +01:00
Laurens Valk
f5094cfaba
config: use inline math and common characters
...
Latex errors cannot be parsed by humans, so just use inline math which we had working elsewhere already.
Also use simplified character for ế, for latex compatibility.
2020-01-16 15:03:54 +01:00
Laurens Valk
022f15a437
config/spelling: ignore literals, data directives
2020-01-16 14:22:21 +01:00
Laurens Valk
b6f75eca9c
config: ignore literals by regexp and config files
...
No need to have all of them in the ignore list now.
2020-01-16 13:28:09 +01:00
Laurens Valk
81626bb20d
config: more spellchecking and ignoring
2020-01-16 12:02:50 +01:00
Laurens Valk
f597ed1f88
config: ignore math during spell check
2020-01-16 11:57:19 +01:00
Laurens Valk
a026e3a12c
config: ignore language identifiers
2020-01-16 11:39:08 +01:00
Laurens Valk
fe255a9611
config: sort ignored words
...
No longer have two lists of technical words and regular words.
also add a few more words
2020-01-16 11:31:37 +01:00
Laurens Valk
3e16ec2ba5
config: use Spell Right for spell checking
...
Also add initial list of words to ignore
2020-01-16 11:16:39 +01:00
David Lechner
29b012a7d7
vscode: add conf.py path for rst extension
...
This adds a setting for the VS Code lextudio.restructuredtext extension
that specifices where to find conf.py
2020-01-11 21:06:43 -06:00
Laurens Valk
a728edb8ad
doc: style tweaks
2019-10-18 14:43:43 +02:00
David Lechner
9ad550dfcb
vscode: add settings are extension recommendations
...
this will help users get a dev environment setup more easliy
2019-05-09 12:21:17 -05:00