diff --git a/.coveragerc b/.coveragerc index 1f3967328..8689b8ea6 100644 --- a/.coveragerc +++ b/.coveragerc @@ -15,4 +15,4 @@ source = show_missing = True exclude_lines = pragma: no cover - @(abc\.)?abstractmethod \ No newline at end of file + @(abc\.)?abstractmethod diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d9c015d1..a9dc623ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,29 +14,27 @@ defaults: shell: bash jobs: - beefore: - name: Pre-test checks + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-python@v3.1.2 + with: + python-version: ${{ env.min_python_version }} + - uses: pre-commit/action@v3.0.0 + + docs: runs-on: ubuntu-latest - strategy: - matrix: - task: - - flake8 - # - towncrier-check - - docs steps: - uses: actions/checkout@v1 - uses: actions/setup-python@v3.1.2 with: python-version: ${{ env.min_python_version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install --upgrade setuptools - python -m pip install tox - - run: tox -e ${{ matrix.task }} + - run: pip install tox + - run: tox -e docs package: - needs: beefore + needs: [pre-commit, docs] runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000..1cbde5dbb --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,11 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.3.0 + hooks: + - id: check-toml + exclude: ^examples/.template/ + - id: check-yaml + - id: check-case-conflict + - id: check-docstring-first + - id: end-of-file-fixer + - id: trailing-whitespace diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/LICENSE b/LICENSE index 013cfee50..dc34c2a43 100644 --- a/LICENSE +++ b/LICENSE @@ -24,4 +24,4 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/attic/django/CONTRIBUTING.md b/attic/django/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/attic/django/CONTRIBUTING.md +++ b/attic/django/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/attic/django/LICENSE b/attic/django/LICENSE index 013cfee50..dc34c2a43 100644 --- a/attic/django/LICENSE +++ b/attic/django/LICENSE @@ -24,4 +24,4 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/attic/falcon/CONTRIBUTING.md b/attic/falcon/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/attic/falcon/CONTRIBUTING.md +++ b/attic/falcon/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/attic/falcon/README.rst b/attic/falcon/README.rst index 6acf8848a..60dbc52bb 100644 --- a/attic/falcon/README.rst +++ b/attic/falcon/README.rst @@ -36,4 +36,4 @@ want to contribute code, please `fork the code`_ and `submit a pull request`_. .. _BeeWare suite: http://beeware.org .. _log them on Github: https://github.com/beeware/toga/issues .. _fork the code: https://github.com/beeware/toga -.. _submit a pull request: https://github.com/beeware/toga/pulls \ No newline at end of file +.. _submit a pull request: https://github.com/beeware/toga/pulls diff --git a/attic/flask/CONTRIBUTING.md b/attic/flask/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/attic/flask/CONTRIBUTING.md +++ b/attic/flask/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/attic/flask/LICENSE b/attic/flask/LICENSE index 013cfee50..dc34c2a43 100644 --- a/attic/flask/LICENSE +++ b/attic/flask/LICENSE @@ -24,4 +24,4 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/attic/pyramid/CONTRIBUTING.md b/attic/pyramid/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/attic/pyramid/CONTRIBUTING.md +++ b/attic/pyramid/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/attic/pyramid/README.rst b/attic/pyramid/README.rst index ec97458c3..42b35a1ca 100644 --- a/attic/pyramid/README.rst +++ b/attic/pyramid/README.rst @@ -34,4 +34,4 @@ want to contribute code, please `fork the code`_ and `submit a pull request`_. .. _BeeWare suite: http://beeware.org .. _log them on Github: https://github.com/beeware/toga/issues .. _fork the code: https://github.com/beeware/toga -.. _submit a pull request: https://github.com/beeware/toga/pulls \ No newline at end of file +.. _submit a pull request: https://github.com/beeware/toga/pulls diff --git a/attic/starlette/CONTRIBUTING.md b/attic/starlette/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/attic/starlette/CONTRIBUTING.md +++ b/attic/starlette/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/attic/starlette/README.rst b/attic/starlette/README.rst index 0a7739921..b47a9009a 100644 --- a/attic/starlette/README.rst +++ b/attic/starlette/README.rst @@ -36,4 +36,4 @@ want to contribute code, please `fork the code`_ and `submit a pull request`_. .. _BeeWare suite: http://beeware.org .. _log them on Github: https://github.com/beeware/toga/issues .. _fork the code: https://github.com/beeware/toga -.. _submit a pull request: https://github.com/beeware/toga/pulls \ No newline at end of file +.. _submit a pull request: https://github.com/beeware/toga/pulls diff --git a/attic/tornado/CONTRIBUTING.md b/attic/tornado/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/attic/tornado/CONTRIBUTING.md +++ b/attic/tornado/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/attic/tornado/README.rst b/attic/tornado/README.rst index dc52a7b92..e6d453a44 100644 --- a/attic/tornado/README.rst +++ b/attic/tornado/README.rst @@ -36,4 +36,4 @@ want to contribute code, please `fork the code`_ and `submit a pull request`_. .. _BeeWare suite: http://beeware.org .. _log them on Github: https://github.com/beeware/toga/issues .. _fork the code: https://github.com/beeware/toga -.. _submit a pull request: https://github.com/beeware/toga/pulls \ No newline at end of file +.. _submit a pull request: https://github.com/beeware/toga/pulls diff --git a/attic/win32/MANIFEST.in b/attic/win32/MANIFEST.in index b6bae71f8..8ca5d591c 100644 --- a/attic/win32/MANIFEST.in +++ b/attic/win32/MANIFEST.in @@ -2,4 +2,4 @@ include LICENSE include tox.ini include README.rst recursive-include toga_win32 *.py -recursive-include tests *.py \ No newline at end of file +recursive-include tests *.py diff --git a/attic/win32/README.rst b/attic/win32/README.rst index 680d02efc..ffd6276e3 100644 --- a/attic/win32/README.rst +++ b/attic/win32/README.rst @@ -35,4 +35,4 @@ want to contribute code, please `fork the code`_ and `submit a pull request`_. .. _beeware/general: https://gitter.im/beeware/general .. _log them on Github: https://github.com/beeware/toga/issues .. _fork the code: https://github.com/beeware/toga -.. _submit a pull request: https://github.com/beeware/toga/pulls \ No newline at end of file +.. _submit a pull request: https://github.com/beeware/toga/pulls diff --git a/attic/win32/toga_win32/libs/debug.py b/attic/win32/toga_win32/libs/debug.py index 2113cacba..cfae806d6 100644 --- a/attic/win32/toga_win32/libs/debug.py +++ b/attic/win32/toga_win32/libs/debug.py @@ -41,4 +41,3 @@ if _debug_win32: return f else: DebugLibrary = lambda lib: lib - diff --git a/attic/win32/toga_win32/widgets/multilinetextinput.py b/attic/win32/toga_win32/widgets/multilinetextinput.py index aae09f88a..09aa1ea8e 100755 --- a/attic/win32/toga_win32/widgets/multilinetextinput.py +++ b/attic/win32/toga_win32/widgets/multilinetextinput.py @@ -2,4 +2,4 @@ from .textinput import TextInput from ..libs import * class MultilineTextInput(TextInput): - control_style = ES_MULTILINE | ES_WANTRETURN | ES_AUTOVSCROLL \ No newline at end of file + control_style = ES_MULTILINE | ES_WANTRETURN | ES_AUTOVSCROLL diff --git a/demo/CONTRIBUTING.md b/demo/CONTRIBUTING.md index cfa1cbe13..bd26d8350 100755 --- a/demo/CONTRIBUTING.md +++ b/demo/CONTRIBUTING.md @@ -1,8 +1,7 @@ # Contributing -BeeWare <3's contributions! +BeeWare <3's contributions! -Please be aware, BeeWare operates under a Code of Conduct. +Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](http://beeware.org/contributing) for details. - diff --git a/demo/LICENSE b/demo/LICENSE index 088d0373f..5aad9d741 100755 --- a/demo/LICENSE +++ b/demo/LICENSE @@ -24,4 +24,4 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 54c114535..a280c4e9a 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -11,4 +11,4 @@ div.body table.widget-descriptions td:first-of-type p, div.body table.widget-descriptions th:first-of-type p { text-align: left; -} \ No newline at end of file +} diff --git a/docs/background/releases.rst b/docs/background/releases.rst index b911eb8e2..6a7a4e1f1 100644 --- a/docs/background/releases.rst +++ b/docs/background/releases.rst @@ -60,4 +60,3 @@ Initial public release. Includes: * A GTK+ backend * A proof-of-concept Win32 backend * A proof-of-concept iOS backend - diff --git a/docs/background/success.rst b/docs/background/success.rst index e99833c5d..ec9776677 100644 --- a/docs/background/success.rst +++ b/docs/background/success.rst @@ -5,4 +5,3 @@ Want to see examples of Toga in use? Here's some: * `Travel Tips `_ is an app in the iOS App Store that uses Toga to describe it's user interface. * `Eddington `_ is a data fitting tool based on *Toga* and *Briefcase* - diff --git a/docs/how-to/contribute.rst b/docs/how-to/contribute.rst index 5948bc3ff..9c79f63b0 100644 --- a/docs/how-to/contribute.rst +++ b/docs/how-to/contribute.rst @@ -1,3 +1,5 @@ +FIXME pre-commit + .. _contribute: ========================= @@ -9,7 +11,7 @@ contribute code, please `fork the code`_ and `submit a pull request`_. You may also find `this presentation by BeeWare team member Dan Yeaw `__ helpful. This talk gives an architectural overview of Toga, as well as providing a guide to the process of adding new -widgets. +widgets. .. _log them on Github: https://github.com/beeware/toga/issues diff --git a/docs/make.bat b/docs/make.bat index 785768626..11247e197 100644 --- a/docs/make.bat +++ b/docs/make.bat @@ -187,4 +187,4 @@ results in %BUILDDIR%/doctest/output.txt. goto end ) -:end \ No newline at end of file +:end diff --git a/docs/reference/api/containers/index.rst b/docs/reference/api/containers/index.rst index 2aa7e533c..66ac406f4 100644 --- a/docs/reference/api/containers/index.rst +++ b/docs/reference/api/containers/index.rst @@ -7,4 +7,3 @@ Containers optioncontainer scrollcontainer splitcontainer - diff --git a/docs/reference/platforms.rst b/docs/reference/platforms.rst index da4416b65..7d2eebad8 100644 --- a/docs/reference/platforms.rst +++ b/docs/reference/platforms.rst @@ -140,4 +140,3 @@ Unofficial platform support =========================== At present, there are no known unofficial platform backends. - diff --git a/docs/tutorial/tutorial-issues-note.rst b/docs/tutorial/tutorial-issues-note.rst index 8afdd2224..2226c9b2d 100644 --- a/docs/tutorial/tutorial-issues-note.rst +++ b/docs/tutorial/tutorial-issues-note.rst @@ -1,3 +1,3 @@ .. note:: Toga is a work in progress, and may not be consistent across all platforms. - Please check the `Tutorial Issues `_ label on Github to see what's currently broken. \ No newline at end of file + Please check the `Tutorial Issues `_ label on Github to see what's currently broken. diff --git a/examples/.template/{{ cookiecutter.name }}/{{ cookiecutter.name }}/resources/README b/examples/.template/{{ cookiecutter.name }}/{{ cookiecutter.name }}/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/.template/{{ cookiecutter.name }}/{{ cookiecutter.name }}/resources/README +++ b/examples/.template/{{ cookiecutter.name }}/{{ cookiecutter.name }}/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/activityindicator/activityindicator/resources/README b/examples/activityindicator/activityindicator/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/activityindicator/activityindicator/resources/README +++ b/examples/activityindicator/activityindicator/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/canvas/canvas/resources/README b/examples/canvas/canvas/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/canvas/canvas/resources/README +++ b/examples/canvas/canvas/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/colors/colors/resources/README b/examples/colors/colors/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/colors/colors/resources/README +++ b/examples/colors/colors/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/date_and_time/README.rst b/examples/date_and_time/README.rst index 1118453f1..8887f61d1 100644 --- a/examples/date_and_time/README.rst +++ b/examples/date_and_time/README.rst @@ -16,4 +16,4 @@ To run this example on Windows: To run this example on Android: $ pip install briefcase - $ briefcase run android \ No newline at end of file + $ briefcase run android diff --git a/examples/dialogs/dialogs/resources/README b/examples/dialogs/dialogs/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/dialogs/dialogs/resources/README +++ b/examples/dialogs/dialogs/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/examples_overview/examples_overview/resources/README b/examples/examples_overview/examples_overview/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/examples_overview/examples_overview/resources/README +++ b/examples/examples_overview/examples_overview/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/font/font/resources/README b/examples/font/font/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/font/font/resources/README +++ b/examples/font/font/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/handlers/handlers/resources/README b/examples/handlers/handlers/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/handlers/handlers/resources/README +++ b/examples/handlers/handlers/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/layout/layout/resources/README b/examples/layout/layout/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/layout/layout/resources/README +++ b/examples/layout/layout/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/multilinetextinput/multilinetextinput/resources/README b/examples/multilinetextinput/multilinetextinput/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/multilinetextinput/multilinetextinput/resources/README +++ b/examples/multilinetextinput/multilinetextinput/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/numberinput/numberinput/resources/README b/examples/numberinput/numberinput/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/numberinput/numberinput/resources/README +++ b/examples/numberinput/numberinput/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/optioncontainer/optioncontainer/resources/README b/examples/optioncontainer/optioncontainer/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/optioncontainer/optioncontainer/resources/README +++ b/examples/optioncontainer/optioncontainer/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/positron-static/src/positron/resources/webapp/index.html b/examples/positron-static/src/positron/resources/webapp/index.html index dc180b3dd..d77e28d77 100644 --- a/examples/positron-static/src/positron/resources/webapp/index.html +++ b/examples/positron-static/src/positron/resources/webapp/index.html @@ -6,4 +6,4 @@

Hello World

- \ No newline at end of file + diff --git a/examples/positron-static/src/positron/resources/webapp/positron.css b/examples/positron-static/src/positron/resources/webapp/positron.css index d59bfee64..2c3432cda 100644 --- a/examples/positron-static/src/positron/resources/webapp/positron.css +++ b/examples/positron-static/src/positron/resources/webapp/positron.css @@ -1,3 +1,3 @@ h1 { font-family: sans-serif; -} \ No newline at end of file +} diff --git a/examples/scrollcontainer/scrollcontainer/resources/README b/examples/scrollcontainer/scrollcontainer/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/scrollcontainer/scrollcontainer/resources/README +++ b/examples/scrollcontainer/scrollcontainer/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/switch_demo/switch_demo/resources/README b/examples/switch_demo/switch_demo/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/switch_demo/switch_demo/resources/README +++ b/examples/switch_demo/switch_demo/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/textinput/textinput/resources/README b/examples/textinput/textinput/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/textinput/textinput/resources/README +++ b/examples/textinput/textinput/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/examples/window/window/resources/README b/examples/window/window/resources/README index 246d0829e..84f0abfa0 100644 --- a/examples/window/window/resources/README +++ b/examples/window/window/resources/README @@ -1 +1 @@ -Put any icons or images in this directory. \ No newline at end of file +Put any icons or images in this directory. diff --git a/nursery/curses/CONTRIBUTING.md b/nursery/curses/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/nursery/curses/CONTRIBUTING.md +++ b/nursery/curses/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/nursery/qt/CONTRIBUTING.md b/nursery/qt/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/nursery/qt/CONTRIBUTING.md +++ b/nursery/qt/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/nursery/tvOS/CONTRIBUTING.md b/nursery/tvOS/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/nursery/tvOS/CONTRIBUTING.md +++ b/nursery/tvOS/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/nursery/tvOS/README.rst b/nursery/tvOS/README.rst index d7e9257a9..1644baacb 100644 --- a/nursery/tvOS/README.rst +++ b/nursery/tvOS/README.rst @@ -36,4 +36,4 @@ want to contribute code, please `fork the code`_ and `submit a pull request`_. .. _BeeWare suite: http://beeware.org .. _log them on Github: https://github.com/beeware/toga/issues .. _fork the code: https://github.com/beeware/toga -.. _submit a pull request: https://github.com/beeware/toga/pulls \ No newline at end of file +.. _submit a pull request: https://github.com/beeware/toga/pulls diff --git a/nursery/uwp/CONTRIBUTING.md b/nursery/uwp/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/nursery/uwp/CONTRIBUTING.md +++ b/nursery/uwp/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/nursery/watchOS/CONTRIBUTING.md b/nursery/watchOS/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/nursery/watchOS/CONTRIBUTING.md +++ b/nursery/watchOS/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/src/android/CONTRIBUTING.md b/src/android/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/src/android/CONTRIBUTING.md +++ b/src/android/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/src/android/LICENSE b/src/android/LICENSE index 013cfee50..dc34c2a43 100644 --- a/src/android/LICENSE +++ b/src/android/LICENSE @@ -24,4 +24,4 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/android/README.rst b/src/android/README.rst index 8f8dc6c23..8b63aa531 100644 --- a/src/android/README.rst +++ b/src/android/README.rst @@ -32,4 +32,4 @@ want to contribute code, please `fork the code`_ and `submit a pull request`_. .. _BeeWare suite: http://beeware.org .. _log them on Github: https://github.com/beeware/toga/issues .. _fork the code: https://github.com/beeware/toga -.. _submit a pull request: https://github.com/beeware/toga/pulls \ No newline at end of file +.. _submit a pull request: https://github.com/beeware/toga/pulls diff --git a/src/cocoa/CONTRIBUTING.md b/src/cocoa/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/src/cocoa/CONTRIBUTING.md +++ b/src/cocoa/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/src/cocoa/LICENSE b/src/cocoa/LICENSE index 013cfee50..dc34c2a43 100644 --- a/src/cocoa/LICENSE +++ b/src/cocoa/LICENSE @@ -24,4 +24,4 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/cocoa/README.rst b/src/cocoa/README.rst index 92441624d..26ce969ec 100644 --- a/src/cocoa/README.rst +++ b/src/cocoa/README.rst @@ -37,4 +37,4 @@ want to contribute code, please `fork the code`_ and `submit a pull request`_. .. _BeeWare suite: http://beeware.org .. _log them on Github: https://github.com/beeware/toga/issues .. _fork the code: https://github.com/beeware/toga -.. _submit a pull request: https://github.com/beeware/toga/pulls \ No newline at end of file +.. _submit a pull request: https://github.com/beeware/toga/pulls diff --git a/src/core/CONTRIBUTING.md b/src/core/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/src/core/CONTRIBUTING.md +++ b/src/core/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/src/core/LICENSE b/src/core/LICENSE index 013cfee50..dc34c2a43 100644 --- a/src/core/LICENSE +++ b/src/core/LICENSE @@ -24,4 +24,4 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/core/README.rst b/src/core/README.rst index 63a931850..73745f7c6 100644 --- a/src/core/README.rst +++ b/src/core/README.rst @@ -115,4 +115,4 @@ want to contribute code, please `fork the code`_ and `submit a pull request`_. .. _BeeWare suite: http://beeware.org .. _log them on Github: https://github.com/beeware/toga/issues .. _fork the code: https://github.com/beeware/toga -.. _submit a pull request: https://github.com/beeware/toga/pulls \ No newline at end of file +.. _submit a pull request: https://github.com/beeware/toga/pulls diff --git a/src/core/setup.cfg b/src/core/setup.cfg index e994902f8..8fcaaa533 100644 --- a/src/core/setup.cfg +++ b/src/core/setup.cfg @@ -70,4 +70,4 @@ max-line-length = 119 ignore = E121,E123,E126,E226,E24,E704,W503,W504,C901 [isort] -multi_line_output = 3 \ No newline at end of file +multi_line_output = 3 diff --git a/src/dummy/CONTRIBUTING.md b/src/dummy/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/src/dummy/CONTRIBUTING.md +++ b/src/dummy/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/src/dummy/LICENSE b/src/dummy/LICENSE index 013cfee50..dc34c2a43 100644 --- a/src/dummy/LICENSE +++ b/src/dummy/LICENSE @@ -24,4 +24,4 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/gtk/CONTRIBUTING.md b/src/gtk/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/src/gtk/CONTRIBUTING.md +++ b/src/gtk/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/src/gtk/LICENSE b/src/gtk/LICENSE index 013cfee50..dc34c2a43 100644 --- a/src/gtk/LICENSE +++ b/src/gtk/LICENSE @@ -24,4 +24,4 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/gtk/MANIFEST.in b/src/gtk/MANIFEST.in index 87588f6f9..ecd14299d 100644 --- a/src/gtk/MANIFEST.in +++ b/src/gtk/MANIFEST.in @@ -1,4 +1,4 @@ include CONTRIBUTING.md include LICENSE include README.rst -recursive-include tests *.py \ No newline at end of file +recursive-include tests *.py diff --git a/src/iOS/CONTRIBUTING.md b/src/iOS/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/src/iOS/CONTRIBUTING.md +++ b/src/iOS/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/src/iOS/LICENSE b/src/iOS/LICENSE index 013cfee50..dc34c2a43 100644 --- a/src/iOS/LICENSE +++ b/src/iOS/LICENSE @@ -24,4 +24,4 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/iOS/README.rst b/src/iOS/README.rst index dc31076dc..451612f4e 100644 --- a/src/iOS/README.rst +++ b/src/iOS/README.rst @@ -33,4 +33,3 @@ want to contribute code, please `fork the code`_ and `submit a pull request`_. .. _log them on Github: https://github.com/beeware/toga/issues .. _fork the code: https://github.com/beeware/toga .. _submit a pull request: https://github.com/beeware/toga/pulls - diff --git a/src/web/CONTRIBUTING.md b/src/web/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/src/web/CONTRIBUTING.md +++ b/src/web/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/src/web/LICENSE b/src/web/LICENSE index 013cfee50..dc34c2a43 100644 --- a/src/web/LICENSE +++ b/src/web/LICENSE @@ -24,4 +24,4 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/web/src/toga_web/static/toga.css b/src/web/src/toga_web/static/toga.css index 011766687..572eae6ea 100644 --- a/src/web/src/toga_web/static/toga.css +++ b/src/web/src/toga_web/static/toga.css @@ -10,4 +10,4 @@ div.toga.box { span.toga.label { white-space: nowrap; -} \ No newline at end of file +} diff --git a/src/winforms/CONTRIBUTING.md b/src/winforms/CONTRIBUTING.md index 627533efa..d7f59d151 100644 --- a/src/winforms/CONTRIBUTING.md +++ b/src/winforms/CONTRIBUTING.md @@ -5,4 +5,3 @@ BeeWare <3's contributions! Please be aware, BeeWare operates under a Code of Conduct. See [CONTRIBUTING to BeeWare](https://beeware.org/contributing/) for details. - diff --git a/src/winforms/LICENSE b/src/winforms/LICENSE index 013cfee50..dc34c2a43 100644 --- a/src/winforms/LICENSE +++ b/src/winforms/LICENSE @@ -24,4 +24,4 @@ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/winforms/README.rst b/src/winforms/README.rst index 70e74b3da..e4bb59a6c 100644 --- a/src/winforms/README.rst +++ b/src/winforms/README.rst @@ -32,4 +32,4 @@ want to contribute code, please `fork the code`_ and `submit a pull request`_. .. _BeeWare suite: http://beeware.org .. _log them on Github: https://github.com/beeware/toga/issues .. _fork the code: https://github.com/beeware/toga -.. _submit a pull request: https://github.com/beeware/toga/pulls \ No newline at end of file +.. _submit a pull request: https://github.com/beeware/toga/pulls diff --git a/src/winforms/src/toga_winforms/libs/WebView2/LICENSE.md b/src/winforms/src/toga_winforms/libs/WebView2/LICENSE.md index 45f029784..3199844cb 100644 --- a/src/winforms/src/toga_winforms/libs/WebView2/LICENSE.md +++ b/src/winforms/src/toga_winforms/libs/WebView2/LICENSE.md @@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer. copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * The name of Microsoft Corporation, or the names of its contributors + * The name of Microsoft Corporation, or the names of its contributors may not be used to endorse or promote products derived from this software without specific prior written permission. @@ -24,4 +24,4 @@ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.