Commit graph

116 commits

Author SHA1 Message Date
dherrada
a971bbce7c Linted 2021-11-08 11:19:36 -05:00
dherrada
379ffdb655 Disabled unspecified-encoding pylint check
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-11-05 15:17:27 -04:00
dherrada
b519791d86 PATCH Pylint and readthedocs patch test
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-11-04 16:36:38 -04:00
foamyguy
3cd0c365c8 add docs link to readme 2021-10-25 11:21:06 -05:00
dherrada
48f190e2d1 Globally disabled consider-using-f-string pylint check
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-09-24 13:22:30 -04:00
dherrada
83ad4fecb7 Moved default branch to main 2021-06-07 14:18:18 -04:00
dherrada
1233728a82 Moved CI to Python 3.7
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-05-24 11:33:52 -04:00
dherrada
1dea7cf11b Added help text and problem matcher
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-05-19 15:13:49 -04:00
dherrada
bb9b787086 Added pull request template
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-05-19 14:01:50 -04:00
dherrada
b5ce3eebbf "Increase duplicate code check threshold
"
2021-03-19 13:46:57 -04:00
dherrada
fc8b488dbf Re-added pylint install to build.yml
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-03-02 17:37:01 -05:00
dherrada
d13fe39bc5 Removed pylint process from github workflow
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-03-02 17:12:37 -05:00
dherrada
16f03a54ae Hardcoded Black and REUSE versions
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-02-10 16:29:39 -05:00
foamyguy
f45cb3f250
Merge pull request #45 from adafruit/REUSE
Ran pre-commit, added licenses
2021-01-19 19:50:24 -06:00
foamyguy
49ecc039c9 update multiline copyright 2021-01-18 18:02:36 -06:00
foamyguy
ac1c1ccaea pylint 2021-01-17 08:59:35 -06:00
foamyguy
382f026b19 update author and year in examples 2021-01-17 08:54:22 -06:00
dherrada
931891cad1 Ran pre-commit, added licenses 2021-01-14 11:45:11 -05:00
dherrada
648a18d308 Added pre-commit-config file
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-01-11 16:30:38 -05:00
dherrada
38d878672b Added pre-commit and SPDX copyright
Signed-off-by: dherrada <dylan.herrada@adafruit.com>
2021-01-11 15:58:18 -05:00
Scott Shawcroft
b741c77cee
Merge pull request #41 from dunkmann00/performance-and-sleep
Improve performance and add ability to sleep
2020-09-18 10:46:13 -07:00
George Waters
7d7e3ce45f
Satisfy black formatting 2020-09-10 15:42:03 -04:00
George Waters
e9dbe2d4fb
Add low power example 2020-09-10 15:33:00 -04:00
George Waters
b756ef243e
Update docstrings 2020-09-09 10:34:05 -04:00
George Waters
aef2e8115f
Correct addition to frame length when reading 2020-09-08 21:41:18 -04:00
George Waters
74deaee495
Update UART mode
- Update `_wakeup` to come out of power_down and put the pn532 back into
  normal mode.
- `_wait_ready` now actually checks to see if the pn532 is ready
- improve how data is written out
2020-09-08 21:40:21 -04:00
George Waters
80df78725f
Update SPI _wakeup to come out of power_down
`_wakeup` also puts the pn532 back into normal mode.

Also removed some delays that aren't necessary.
2020-09-08 21:40:21 -04:00
George Waters
cdedaf16b9
Update I2C _wakeup to come out of power_down
`_wakeup` also puts the pn532 back into normal mode.
2020-09-08 21:40:21 -04:00
George Waters
790340eec2
Add ability to power down pn532 2020-09-08 21:40:21 -04:00
Dan Halbert
62ddaaf6e1
Merge pull request #38 from jepler/remove-bad-whitespace-directive
remove bad-whitespace pylint directive
2020-08-23 13:13:16 -04:00
Jeff Epler
56877f7cb1 remove bad-whitespace pylint directive 2020-08-23 11:01:52 -05:00
Limor "Ladyada" Fried
1d6dec350a
Merge pull request #37 from dunkmann00/listen-for-passive-target
Add support to 'listen' for tags
2020-08-19 11:31:49 -04:00
George Waters
02c063079a
Add support to 'listen' for tags
This adds support to break the `read_passive_target` function up into
two parts if desired. First tell the PN532 to listen for tags, and then
explicitly ask to read the UID from the tag. This can be useful when
trying to simultaneously scan tags and run timing sensitive code, like
updating neopixels, and don't want to wait for the timeout delay of
`read_passive_target`.
2020-07-27 15:53:36 -04:00
dherrada
50de551a2e Fixed discord invite link 2020-07-08 16:49:05 -04:00
Dan Halbert
ccc822d38e
Merge pull request #33 from adafruit/black-update
Black reformatting with Python 3 target.
2020-04-09 22:06:12 -04:00
Kattni Rembor
848370a318 Black reformatting with Python 3 target. 2020-04-09 14:00:05 -04:00
sommersoft
5b13f043af build.yml: add black formatting check
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-04-07 16:08:08 -05:00
Kattni
af8fa2a00a
Merge pull request #32 from adafruit/pylint-update
Ran black, updated to pylint 2.x
2020-03-17 16:46:38 -04:00
dherrada
d488bbd852 Re-ran black 2020-03-17 15:40:30 -04:00
dherrada
18858f7604
Merge branch 'master' into pylint-update 2020-03-17 15:39:46 -04:00
Kattni
42192bfeaf
Merge pull request #30 from FoamyGuy/master
Change get_firmware_version() function to a property
2020-03-17 15:23:09 -04:00
dherrada
129e02d563 Ran black, updated to pylint 2.x 2020-03-16 16:00:49 -04:00
sommersoft
d9b547eb5f update code of coduct: discord moderation contact section
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-03-15 18:28:07 -05:00
Kattni
9eb9697b12
Merge pull request #31 from sommersoft/patch_coc
Update Code of Conduct
2020-03-13 15:45:10 -04:00
sommersoft
cddb7b42f6 update code of conduct 2020-03-13 13:41:40 -05:00
sommersoft
87e0e39006 update pylintrc for black
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-03-08 19:07:25 -05:00
sommersoft
dc314b270c build.yml: move pylint, black, and Sphinx installs to each repo; add description to 'actions-ci/install.sh'
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-03-05 10:06:30 -06:00
FoamyGuy
0b8cc7f076 re-enable pylint check. Try fix by setting result to variable. 2020-03-02 19:41:07 -06:00
FoamyGuy
0e7d9b938d pylint disable pointless-statement in __init__() 2020-02-29 12:41:37 -06:00
FoamyGuy
0c287cd375 pylint ignore statement effect in __init__() 2020-02-29 12:37:06 -06:00