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
|
||||
.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:
|
||||
|
5
setup.py
5
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=[
|
||||
|
@ -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",
|
||||
],
|
Loading…
Reference in New Issue
Block a user