Dan Halbert
d4088fa841
Merge pull request #126 from lesamouraipourpre/patch-1
...
Minor update to api.rst
2021-04-17 13:31:13 -04:00
James Carr
470c1a9e77
Minor update to api.rst
...
Minor change to make the tabbed line indented by 4 spaces.
2021-04-17 18:22:59 +01:00
Dan Halbert
1cb42da482
Merge pull request #117 from makermelissa/master
...
Fix typos and add setup.py.disabled if user chooses no for PyPI release
2021-04-16 19:15:49 -04:00
Scott Shawcroft
a8dbc59a17
Merge pull request #125 from tannewt/help_comment
...
Hook in help comment and problem matchers
2021-04-14 12:46:12 -07:00
Scott Shawcroft
f59e397db1
Hook in help comment and problem matchers
2021-04-13 15:21:12 -07:00
Dylan Herrada
9dd130226f
Merge pull request #120 from kattni/duplicate-code-threshold
...
Increase duplicate code check threshold.
2021-03-17 15:16:06 -04:00
Kattni Rembor
3d573e0e56
Increase duplicate code check threshold.
2021-03-17 15:05:59 -04:00
Melissa LeBlanc-Williams
49f347d24d
Fix typos and add setup.py.disabled if user chooses no for PyPI release
2021-03-10 10:59:56 -08:00
Kattni
4f2954da48
Merge pull request #116 from adafruit/dhalbert-patch-2
...
Fix "Adafruit" typo
2021-03-10 13:51:28 -05:00
Dan Halbert
488e7d5f78
Fix "Adafruit" typo
2021-03-10 13:50:07 -05:00
Kattni
febfe27270
Merge pull request #114 from hugodahl/feature/Hugo/Update-pylint-checks-for-tests
...
Update pylint rules for `./tests/` directory files
2021-03-10 13:33:48 -05:00
Hugo Dahl
30f254d17f
Update pre-commit for new repos
...
Add the './tests' directory as an exception
Run a separate set of linting rules for
2021-03-09 18:45:13 -06:00
Dylan Herrada
de35efcda8
Merge pull request #112 from adafruit/kattni-2021-03-02
...
Update duplicate code check to ignore imports.
2021-03-02 16:34:10 -05:00
Kattni
9dbfb8dc8e
Update duplicate code check to ignore imports.
2021-03-02 16:22:04 -05:00
Kattni
1d56382d93
Merge pull request #109 from hugodahl/feature/Update-pre-commit-to-perform-pylint
...
Remove pylint process from github workflow
2021-02-24 10:47:36 -05:00
Hugo Dahl
8dc826cff3
Remove obsolete check
...
Per discussion with @kattni in Discord (https://discord.com/channels/327254708534116352/327298996332658690/814157848400887809 ), the `bad-whitespace` check has been removed from pylint. To avoid future issues where it may be removed, we're pre-emptively removing it from our call.
The check which was performed by this rule is now handled in "black".
2021-02-24 09:36:40 -06:00
Hugo Dahl
6cab76c1d3
Make the pylint hook names similar in style and format
2021-02-23 21:53:17 -06:00
Hugo Dahl
ca04d1cb68
Move library code to use pylint pre-commit hook
2021-02-23 21:49:56 -06:00
Hugo Dahl
0581192e3e
Add calls to pylint from pre-commit
...
The pre-commit configuration file has had the calls to pylint for both
the library code (./adafruit_*.py) and example code (./examples/*.py)
added. The two calls are independant from one-another, and are named
respectively "pylint-library" and "pylint-examples".
The benefit of two separate calls is that they are easily
distinguishable from one another, their rules are applied specifically
to the correct patterns, and the comparison behaviour can be adjusted
independantly (compare all files together as a batch versus
individually).
Additionally, a shell call was the only way to work
around the pylint issue introduced in 2.7.0 which was causing duplicate
code errors to fail the validation, which should not be an issue for the
"examples/*.py" files, since each example should stand on its own.
2021-02-23 20:30:41 -06:00
Hugo Dahl
6f38798d31
Remove pylint process from github workflow
...
The installation of pylint within the workflow is still needed, since
the pre-commit execution of pylint is run through a shell call.
Since it isn't being run through the dedicated pre-commit hook, pre-commit
will not install pylint for us.
2021-02-23 20:07:40 -06:00
Scott Shawcroft
421a8aad5c
Merge pull request #110 from askpatrickw/fix-rtd-conditional-section
...
fix the whitespace removal on RTD badge
2021-02-22 16:50:17 -08:00
Patrick
5474c88073
fix the whitespace removal on RTD badge
2021-02-21 21:40:06 -08:00
Limor "Ladyada" Fried
2aac8c0e67
Merge pull request #107 from askpatrickw/fix-product-url
...
fix product url format
2021-02-21 15:35:35 -05:00
Patrick
233711efc1
fix product url format
2021-02-21 12:18:49 -08:00
Scott Shawcroft
86a885b0fe
Merge pull request #105 from adafruit/jepler-patch-1
...
pre-commit: run on all branches & on ubuntu-20.04
2021-02-17 08:50:20 -08:00
Jeff Epler
dc4dd63192
pre-commit: run on all branches & on ubuntu-20.04
...
I noticed that pre-commit only runs on the 'master' branch. This will be incorrect if cookiecutter is ever updated to use the 'main' branch designation for primary development.
I also updated the ubuntu version from ubuntu-latest to ubuntu-20.04. This silences a warning shown in the Actions results pages that the meaning of ubuntu-latest can & will change.
2021-02-16 20:38:15 -06:00
foamyguy
3e583012d7
Merge pull request #84 from sommersoft/bundle_aware
...
RFC: Allow Options For Different Target Bundles
2021-02-12 19:45:33 -06:00
Patrick
1d8792c533
conditional doc build, pylint files, long line
2021-02-11 20:33:42 -08:00
Patrick
e48e921315
pre-commit
2021-02-10 16:34:14 -08:00
Patrick
bc494c2987
Add default for Company and updarte main repo README
2021-02-10 16:32:57 -08:00
Patrick
3a082d6af9
fixes and enhancements
2021-02-10 16:21:27 -08:00
Patrick
d348b0e6ac
Only copy setup.py if pypi_release is yes
2021-02-09 01:02:42 -08:00
Patrick
cd6f788f55
pre-commit
2021-02-09 00:50:38 -08:00
Patrick
f9f7337d0c
fix prefix caps for linux
2021-02-09 00:49:46 -08:00
Patrick
fc146189d0
fix tests
2021-02-09 00:39:00 -08:00
Patrick
a9b36308b2
pre-commit run
2021-02-08 22:35:02 -08:00
sommersoft
fe09e65b63
Merge branch 'master' of https://github.com/adafruit/cookiecutter-adafruit-circuitpython into bundle_aware
2021-02-07 07:28:45 -06:00
askpatricw
e887bc6e7e
PyPi and Branch prompt and more fixes
2021-02-05 00:17:00 -08:00
askpatricw
d77acb7e9f
Improvemens to Community vs. Adafruit
2021-02-04 00:28:12 -08:00
Kattni
f1e4ad5b37
Merge pull request #102 from askpatrickw/fix-99
...
Pre-Commit requires specific versions be used
2021-02-03 10:58:50 -05:00
askpatricw
8757b7beb1
remove travis
2021-02-03 01:05:24 -08:00
askpatricw
62f07f8c74
Fixes 99
2021-02-01 19:20:48 -08:00
Limor "Ladyada" Fried
fcf67be61f
Merge pull request #98 from adafruit/dherrada-patch-1
...
Added pointless-string-statement to disabled checks
2021-01-11 11:19:22 -05:00
Dylan Herrada
9e63a9349e
pointless, not useless
2021-01-11 11:17:56 -05:00
Dylan Herrada
bdb00b59a0
Added useless-string-statement to disabled checks
2021-01-11 11:16:50 -05:00
Dan Halbert
07eb288eed
Merge pull request #97 from adafruit/revert-96-add-black
...
Revert "Add Black formatting check."
2021-01-04 18:14:20 -05:00
Dan Halbert
e52ccd8f10
Revert "Add Black formatting check."
2021-01-04 18:12:19 -05:00
Dan Halbert
2f3fc20d93
Merge pull request #96 from kattni/add-black
...
Add Black formatting check.
2021-01-04 18:07:48 -05:00
Kattni Rembor
57260ff925
Add Black formatting check.
2021-01-04 17:54:37 -05:00
Limor "Ladyada" Fried
b6fc792d45
Merge pull request #95 from ricardoquesada/blocklist
...
Replace blacklist with ignore-list
2021-01-04 15:08:30 -05:00