From 7bc1ec5aea04777c7ead621c0ed0b9ad7e6a332c Mon Sep 17 00:00:00 2001 From: Istvan Ruzman Date: Mon, 17 Aug 2020 09:17:44 +0200 Subject: [PATCH] UNIX Text files are defined to have a trailing whiteline --- .flake8 | 1 + .pylintrc | 1 + .travis.yml | 3 ++- LICENSE-APACHE | 1 + LICENSE-MIT | 1 + README.md | 1 + default.nix | 1 + pyproject.toml | 1 + shell.nix | 1 + 9 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.flake8 b/.flake8 index 1fd4893..e37deff 100644 --- a/.flake8 +++ b/.flake8 @@ -1,2 +1,3 @@ [flake8] max-line-length = 160 + diff --git a/.pylintrc b/.pylintrc index 563639e..33d2bf9 100644 --- a/.pylintrc +++ b/.pylintrc @@ -3,3 +3,4 @@ ignore=tests,examples [MESSAGES_CONTROL] disable=bad-continuation,fixme + diff --git a/.travis.yml b/.travis.yml index 15e5195..ff618db 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ python: # command to install dependencies install: "pip install pytest pytest-black pytest-cov pylint-isort pytest-mypy pytest-pylint pytest-flake8 coveralls" # command to run tests -script: pytest --black --isort --pylint --pylint-jobs=4 --mypy --flake8 --cov=pyrad3 +script: pytest --black --isort --pylint --pylint-jobs=4 --mypy --flake8 --cov=pyrad3 after_success: - coveralls + diff --git a/LICENSE-APACHE b/LICENSE-APACHE index 1b5ec8b..d085c25 100644 --- a/LICENSE-APACHE +++ b/LICENSE-APACHE @@ -174,3 +174,4 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS + diff --git a/LICENSE-MIT b/LICENSE-MIT index 8707284..7c67b9d 100644 --- a/LICENSE-MIT +++ b/LICENSE-MIT @@ -17,3 +17,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/README.md b/README.md index 9747fe9..1d331fe 100644 --- a/README.md +++ b/README.md @@ -53,3 +53,4 @@ License (Version 2.0). See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for details. + diff --git a/default.nix b/default.nix index ad0f35a..5f81ad5 100644 --- a/default.nix +++ b/default.nix @@ -12,3 +12,4 @@ python.pkgs.buildPythonPackage rec { # pytest-cov ]; } + diff --git a/pyproject.toml b/pyproject.toml index 03d4046..60be8db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,3 +77,4 @@ commands = poetry install -v poetry run pytest --black --isort --pylint --pylint-jobs=4 --mypy --flake8 --cov=pyrad3 """ + diff --git a/shell.nix b/shell.nix index 38193af..e509ebd 100644 --- a/shell.nix +++ b/shell.nix @@ -23,3 +23,4 @@ in pkgs.mkShell { export PYTHONPATH=${./src}:$PYTHONPATH ''; } +