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
This commit is contained in:
The Vinh Luong (Lương Thế Vinh)
2022-09-05 18:40:39 -05:00
committed by GitHub
parent c64458d3b9
commit dcddf15d15
4 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
[flake8]
exclude = .venv/,*.pyi,jedi/
max-line-length = 88
ignore = E203,W503
ignore = E203,E501,W503
[doc8]
ignore-path = .venv/,doc/main/build/,doc/api/build/,pybricks.egg-info/,npm/