Compare commits

...

6 commits

Author SHA1 Message Date
dherrada
974d5e6656 Fixed discord invite link 2020-07-08 16:49:04 -04:00
Scott Shawcroft
0d49a1fcd9
Merge pull request #26 from adafruit/black-update
Black reformatting with Python 3 target.
2020-04-09 09:39:42 -07:00
Kattni Rembor
0e32efa93d Black reformatting with Python 3 target. 2020-04-08 14:47:33 -04:00
sommersoft
b08aa012dd build.yml: add black formatting check
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-04-07 16:03:47 -05:00
Kattni
e2d5a2f4cd
Merge pull request #25 from adafruit/pylint-update
Ran black, updated to pylint 2.x
2020-03-17 11:59:59 -04:00
sommersoft
ab1f24811b update code of coduct: discord moderation contact section
Signed-off-by: sommersoft <sommersoft@gmail.com>
2020-03-15 18:29:41 -05:00
4 changed files with 17 additions and 14 deletions

View file

@ -43,6 +43,9 @@ jobs:
pip install --force-reinstall pylint black==19.10b0 Sphinx sphinx-rtd-theme pip install --force-reinstall pylint black==19.10b0 Sphinx sphinx-rtd-theme
- name: Library version - name: Library version
run: git describe --dirty --always --tags run: git describe --dirty --always --tags
- name: Check formatting
run: |
black --check --target-version=py35 .
- name: PyLint - name: PyLint
run: | run: |
pylint $( find . -path './adafruit*.py' ) pylint $( find . -path './adafruit*.py' )

View file

@ -74,10 +74,10 @@ You may report in the following ways:
In any situation, you may send an email to <support@adafruit.com>. In any situation, you may send an email to <support@adafruit.com>.
On the Adafruit Discord, you may send an open message from any channel On the Adafruit Discord, you may send an open message from any channel
to all Community Helpers by tagging @community helpers. You may also send an to all Community Moderators by tagging @community moderators. You may
open message from any channel, or a direct message to @kattni#1507, also send an open message from any channel, or a direct message to
@tannewt#4653, @Dan Halbert#1614, @cater#2442, @sommersoft#0222, @kattni#1507, @tannewt#4653, @Dan Halbert#1614, @cater#2442,
@Mr. Certainly#0472 or @Andon#8175. @sommersoft#0222, @Mr. Certainly#0472 or @Andon#8175.
Email and direct message reports will be kept confidential. Email and direct message reports will be kept confidential.

View file

@ -6,7 +6,7 @@ Introduction
:alt: Documentation Status :alt: Documentation Status
.. image :: https://img.shields.io/discord/327254708534116352.svg .. image :: https://img.shields.io/discord/327254708534116352.svg
:target: https://discord.gg/nBQh6qu :target: https://adafru.it/discord
:alt: Discord :alt: Discord
.. image:: https://github.com/adafruit/Adafruit_CircuitPython_DS3231/workflows/Build%20CI/badge.svg .. image:: https://github.com/adafruit/Adafruit_CircuitPython_DS3231/workflows/Build%20CI/badge.svg

View file

@ -72,18 +72,18 @@ source_suffix = [".rst", ".md"]
master_doc = "index" master_doc = "index"
# General information about the project. # General information about the project.
project = u"Adafruit's DS3231 RTC Library" project = "Adafruit's DS3231 RTC Library"
copyright = u"2016, Philip Moyer" copyright = "2016, Philip Moyer"
author = u"Philip Moyer" author = "Philip Moyer"
# The version info for the project you're documenting, acts as replacement for # The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the # |version| and |release|, also used in various other places throughout the
# built documents. # built documents.
# #
# The short X.Y version. # The short X.Y version.
version = u"1.0" version = "1.0"
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = u"1.0" release = "1.0"
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.
@ -304,8 +304,8 @@ latex_documents = [
( (
master_doc, master_doc,
"AdafruitsDS3231RTCLibrary.tex", "AdafruitsDS3231RTCLibrary.tex",
u"Adafruit's DS3231 RTC Library Documentation", "Adafruit's DS3231 RTC Library Documentation",
u"Philip Moyer", "Philip Moyer",
"manual", "manual",
), ),
] ]
@ -351,7 +351,7 @@ man_pages = [
( (
master_doc, master_doc,
"adafruitsds3231rtclibrary", "adafruitsds3231rtclibrary",
u"Adafruit's DS3231 RTC Library Documentation", "Adafruit's DS3231 RTC Library Documentation",
[author], [author],
1, 1,
) )
@ -371,7 +371,7 @@ texinfo_documents = [
( (
master_doc, master_doc,
"AdafruitsDS3231RTCLibrary", "AdafruitsDS3231RTCLibrary",
u"Adafruit's DS3231 RTC Library Documentation", "Adafruit's DS3231 RTC Library Documentation",
author, author,
"AdafruitsDS3231RTCLibrary", "AdafruitsDS3231RTCLibrary",
"One line description of project.", "One line description of project.",