Update pre-commit targets
This commit is contained in:
parent
99094ae49e
commit
629a829f46
4
Makefile
4
Makefile
@ -83,8 +83,8 @@ dist-clean: clean
|
|||||||
|
|
||||||
# Install pre-commit hooks
|
# Install pre-commit hooks
|
||||||
.PHONY: install-hooks
|
.PHONY: install-hooks
|
||||||
install-hooks: $(ENV)
|
install-hooks: devenv
|
||||||
$(ENV)/bin/tox -e pre-commit -- install -f --install-hooks
|
$(ENV)/bin/pre-commit install -f --install-hooks
|
||||||
|
|
||||||
# Generates test coverage
|
# Generates test coverage
|
||||||
.coverage:
|
.coverage:
|
||||||
|
5
setup.py
5
setup.py
@ -1,3 +1,4 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
from codecs import open
|
from codecs import open
|
||||||
from os import path
|
from os import path
|
||||||
|
|
||||||
@ -17,7 +18,9 @@ setup(
|
|||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
url="https://git.iamthefij.com/iamthefij/padio.git",
|
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="iamthefij",
|
||||||
author_email="",
|
author_email="",
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import pytest
|
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",
|
"file.a123.txt",
|
||||||
],
|
],
|
Loading…
Reference in New Issue
Block a user