Skip to content

Commit 549226b

Browse files
committed
Port to CircuitPython
1 parent 85dbcea commit 549226b

File tree

12 files changed

+1088
-111
lines changed

12 files changed

+1088
-111
lines changed

.gitignore

Lines changed: 50 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
1-
# Byte-compiled / optimized / DLL files
21
__pycache__/
32
*.py[cod]
43
*$py.class
5-
6-
# C extensions
74
*.so
8-
9-
# Distribution / packaging
105
.Python
11-
env/
126
build/
137
develop-eggs/
148
dist/
@@ -20,43 +14,74 @@ lib64/
2014
parts/
2115
sdist/
2216
var/
17+
wheels/
2318
*.egg-info/
2419
.installed.cfg
2520
*.egg
26-
27-
# PyInstaller
28-
# Usually these files are written by a python script from a template
29-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
21+
*.egg*
3022
*.manifest
3123
*.spec
32-
33-
# Installer logs
3424
pip-log.txt
3525
pip-delete-this-directory.txt
36-
37-
# Unit test / coverage reports
3826
htmlcov/
3927
.tox/
4028
.coverage
4129
.coverage.*
4230
.cache
4331
nosetests.xml
4432
coverage.xml
45-
*,cover
33+
*.cover
4634
.hypothesis/
47-
48-
# Translations
35+
.pytest_cache/
36+
cover/
4937
*.mo
5038
*.pot
51-
52-
# Django stuff:
5339
*.log
54-
55-
# Sphinx documentation
40+
local_settings.py
41+
db.sqlite3
42+
instance/
43+
.webassets-cache
44+
.scrapy
5645
docs/_build/
57-
58-
# PyBuilder
46+
doc/build
5947
target/
60-
61-
#Ipython Notebook
6248
.ipynb_checkpoints
49+
.python-version
50+
celerybeat-schedule
51+
celerybeat.pid
52+
*.sage.py
53+
.env
54+
.venv
55+
env/
56+
venv/
57+
ENV/
58+
env.bak/
59+
venv.bak/
60+
.spyderproject
61+
.spyproject
62+
.ropeproject
63+
/site
64+
.mypy_cache/
65+
.dmypy.json
66+
dmypy.json
67+
*.iml
68+
*.ipr
69+
cmake-build-*/
70+
.idea/**/mongoSettings.xml
71+
*.iws
72+
out/
73+
atlassian-ide-plugin.xml
74+
com_crashlytics_export_strings.xml
75+
crashlytics.properties
76+
crashlytics-build.properties
77+
fabric.properties
78+
.idea
79+
build
80+
**/__pycache__
81+
**/conda
82+
__pypackages__/
83+
profile_default/
84+
ipython_config.py
85+
Pipfile.lock
86+
.pyre/
87+
*.mpy

.pre-commit-config.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
3+
repos:
4+
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v3.4.0
7+
hooks:
8+
- id: check-added-large-files
9+
- id: check-ast
10+
- id: fix-byte-order-marker
11+
- id: check-byte-order-marker
12+
- id: check-case-conflict
13+
- id: check-executables-have-shebangs
14+
- id: check-json
15+
- id: check-toml
16+
- id: check-yaml
17+
- id: check-merge-conflict
18+
- id: check-symlinks
19+
- id: check-vcs-permalinks
20+
- id: detect-private-key
21+
- id: trailing-whitespace
22+
- id: mixed-line-ending
23+
- id: end-of-file-fixer
24+
25+
- repo: https://github.com/domdfcoding/pre-commit-hooks
26+
rev: v0.2.1
27+
hooks:
28+
- id: requirements-txt-sorter
29+
args:
30+
- --allow-git
31+
- id: check-docstring-first
32+
33+
- repo: https://github.com/domdfcoding/flake2lint
34+
rev: v0.4.1
35+
hooks:
36+
- id: flake2lint
37+
38+
- repo: https://github.com/pre-commit/pygrep-hooks
39+
rev: v1.8.0
40+
hooks:
41+
- id: python-no-eval
42+
- id: rst-backticks
43+
- id: rst-directive-colons
44+
- id: rst-inline-touching-normal
45+
46+
- repo: https://github.com/Lucas-C/pre-commit-hooks
47+
rev: v1.1.10
48+
hooks:
49+
- id: remove-crlf
50+
- id: forbid-crlf
51+
52+
- repo: https://github.com/repo-helper/formate
53+
rev: v0.4.9
54+
hooks:
55+
- id: formate

0 commit comments

Comments
 (0)