Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .black.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[tool.black]
line-length = 120
target_version = ['py36']
include = '\.pyi?$'
exclude = '''

(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| _build
| buck-out
| build
| dist
| venv
)/
)
'''
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ install:

micropython-install: ${MPYS}
cp -R $(OUT)/* /usr/lib/micropython/

clean:
find . -name __pycache__ | xargs rm -rf
find . -name *.pyc | xargs rm -rf

format:
python3 -m black --config=.black.cfg .
1 change: 1 addition & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ python-ev3dev2 (2.1.0) UNRELEASED; urgency=medium
[Daniel Walton]
* RPyC update docs and make it easier to use
* use double backticks consistently in docstrings
* use double quotes consistently (ran black)

[Matěj Volf]
* LED animation fix duration None
Expand Down
Loading