Add pre-commit hooks: check-toml, check-yaml, check-case-conflict, check-docstring-first, end-of-file-fixer, trailing-whitespace

This commit is contained in:
Malcolm Smith 2022-10-20 21:59:36 +01:00
parent 96881f0936
commit d4780b217a
81 changed files with 81 additions and 97 deletions

View file

@ -15,4 +15,4 @@ source =
show_missing = True
exclude_lines =
pragma: no cover
@(abc\.)?abstractmethod
@(abc\.)?abstractmethod

View file

@ -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

11
.pre-commit-config.yaml Normal file
View file

@ -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

View file

@ -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.

View file

@ -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.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -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.

View file

@ -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.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -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.

View file

@ -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
.. _submit a pull request: https://github.com/beeware/toga/pulls

View file

@ -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.

View file

@ -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.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -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.

View file

@ -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
.. _submit a pull request: https://github.com/beeware/toga/pulls

View file

@ -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.

View file

@ -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
.. _submit a pull request: https://github.com/beeware/toga/pulls

View file

@ -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.

View file

@ -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
.. _submit a pull request: https://github.com/beeware/toga/pulls

View file

@ -2,4 +2,4 @@ include LICENSE
include tox.ini
include README.rst
recursive-include toga_win32 *.py
recursive-include tests *.py
recursive-include tests *.py

View file

@ -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
.. _submit a pull request: https://github.com/beeware/toga/pulls

View file

@ -41,4 +41,3 @@ if _debug_win32:
return f
else:
DebugLibrary = lambda lib: lib

View file

@ -2,4 +2,4 @@ from .textinput import TextInput
from ..libs import *
class MultilineTextInput(TextInput):
control_style = ES_MULTILINE | ES_WANTRETURN | ES_AUTOVSCROLL
control_style = ES_MULTILINE | ES_WANTRETURN | ES_AUTOVSCROLL

View file

@ -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.

View file

@ -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.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -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;
}
}

View file

@ -60,4 +60,3 @@ Initial public release. Includes:
* A GTK+ backend
* A proof-of-concept Win32 backend
* A proof-of-concept iOS backend

View file

@ -5,4 +5,3 @@ Want to see examples of Toga in use? Here's some:
* `Travel Tips <https://itunes.apple.com/au/app/travel-tips/id1336372310>`_ is an app in the iOS App Store that uses Toga to describe it's user interface.
* `Eddington <https://github.com/EddLabs/eddington-gui>`_ is a data fitting tool based on *Toga* and *Briefcase*

View file

@ -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
<https://youtu.be/sWt_sEZUiY8>`__ 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

View file

@ -187,4 +187,4 @@ results in %BUILDDIR%/doctest/output.txt.
goto end
)
:end
:end

View file

@ -7,4 +7,3 @@ Containers
optioncontainer
scrollcontainer
splitcontainer

View file

@ -140,4 +140,3 @@ Unofficial platform support
===========================
At present, there are no known unofficial platform backends.

View file

@ -1,3 +1,3 @@
.. note:: Toga is a work in progress, and may not be consistent across all platforms.
Please check the `Tutorial Issues <https://github.com/beeware/toga/issues?q=is%3Aopen+is%3Aissue+label%3Atutorial-bugs>`_ label on Github to see what's currently broken.
Please check the `Tutorial Issues <https://github.com/beeware/toga/issues?q=is%3Aopen+is%3Aissue+label%3Atutorial-bugs>`_ label on Github to see what's currently broken.

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -16,4 +16,4 @@ To run this example on Windows:
To run this example on Android:
$ pip install briefcase
$ briefcase run android
$ briefcase run android

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -6,4 +6,4 @@
<body>
<h1>Hello World</h1>
</body>
</html>
</html>

View file

@ -1,3 +1,3 @@
h1 {
font-family: sans-serif;
}
}

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -1 +1 @@
Put any icons or images in this directory.
Put any icons or images in this directory.

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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
.. _submit a pull request: https://github.com/beeware/toga/pulls

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -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
.. _submit a pull request: https://github.com/beeware/toga/pulls

View file

@ -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.

View file

@ -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.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -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
.. _submit a pull request: https://github.com/beeware/toga/pulls

View file

@ -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.

View file

@ -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.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -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
.. _submit a pull request: https://github.com/beeware/toga/pulls

View file

@ -70,4 +70,4 @@ max-line-length = 119
ignore = E121,E123,E126,E226,E24,E704,W503,W504,C901
[isort]
multi_line_output = 3
multi_line_output = 3

View file

@ -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.

View file

@ -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.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -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.

View file

@ -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.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -1,4 +1,4 @@
include CONTRIBUTING.md
include LICENSE
include README.rst
recursive-include tests *.py
recursive-include tests *.py

View file

@ -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.

View file

@ -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.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -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

View file

@ -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.

View file

@ -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.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -10,4 +10,4 @@ div.toga.box {
span.toga.label {
white-space: nowrap;
}
}

View file

@ -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.

View file

@ -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.
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -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
.. _submit a pull request: https://github.com/beeware/toga/pulls

View file

@ -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.
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.