diff --git a/Makefile b/Makefile index d4b9aa0..372a9e5 100644 --- a/Makefile +++ b/Makefile @@ -83,8 +83,8 @@ dist-clean: clean # Install pre-commit hooks .PHONY: install-hooks -install-hooks: $(ENV) - $(ENV)/bin/tox -e pre-commit -- install -f --install-hooks +install-hooks: devenv + $(ENV)/bin/pre-commit install -f --install-hooks # Generates test coverage .coverage: diff --git a/setup.py b/setup.py index 5d86eb9..5f41510 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- from codecs import open from os import path @@ -17,7 +18,9 @@ setup( long_description=long_description, long_description_content_type="text/markdown", url="https://git.iamthefij.com/iamthefij/padio.git", - download_url=("https://git.iamthefij.com/iamthefij/padio.git/archive/master.tar.gz"), + download_url=( + "https://git.iamthefij.com/iamthefij/padio.git/archive/master.tar.gz" + ), author="iamthefij", author_email="", classifiers=[ diff --git a/tests/test_paddy.py b/tests/paddy_test.py similarity index 94% rename from tests/test_paddy.py rename to tests/paddy_test.py index 24230a2..4474925 100644 --- a/tests/test_paddy.py +++ b/tests/paddy_test.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- from pathlib import Path import pytest @@ -59,11 +60,7 @@ def test_calc_pad_length(file_paths, expected): ], ), ( - [ - "file.a123.txt", - "file.b123.txt", - "ignore.txt" - ], + ["file.a123.txt", "file.b123.txt", "ignore.txt"], [ "file.a123.txt", ],