UNIX Text files are defined to have a trailing whiteline

This commit is contained in:
Istvan Ruzman
2020-08-17 09:17:44 +02:00
parent 558cebf015
commit 7bc1ec5aea
9 changed files with 10 additions and 1 deletions

View File

@@ -1,2 +1,3 @@
[flake8] [flake8]
max-line-length = 160 max-line-length = 160

View File

@@ -3,3 +3,4 @@ ignore=tests,examples
[MESSAGES_CONTROL] [MESSAGES_CONTROL]
disable=bad-continuation,fixme disable=bad-continuation,fixme

View File

@@ -5,6 +5,7 @@ python:
# command to install dependencies # command to install dependencies
install: "pip install pytest pytest-black pytest-cov pylint-isort pytest-mypy pytest-pylint pytest-flake8 coveralls" install: "pip install pytest pytest-black pytest-cov pylint-isort pytest-mypy pytest-pylint pytest-flake8 coveralls"
# command to run tests # 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: after_success:
- coveralls - coveralls

View File

@@ -174,3 +174,4 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
of your accepting any such warranty or additional liability. of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS END OF TERMS AND CONDITIONS

View File

@@ -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, 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 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.

View File

@@ -53,3 +53,4 @@ License (Version 2.0).
See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for
details. details.

View File

@@ -12,3 +12,4 @@ python.pkgs.buildPythonPackage rec {
# pytest-cov # pytest-cov
]; ];
} }

View File

@@ -77,3 +77,4 @@ commands =
poetry install -v poetry install -v
poetry run pytest --black --isort --pylint --pylint-jobs=4 --mypy --flake8 --cov=pyrad3 poetry run pytest --black --isort --pylint --pylint-jobs=4 --mypy --flake8 --cov=pyrad3
""" """

View File

@@ -23,3 +23,4 @@ in pkgs.mkShell {
export PYTHONPATH=${./src}:$PYTHONPATH export PYTHONPATH=${./src}:$PYTHONPATH
''; '';
} }