Skip to content

Commit d9942d5

Browse files
committed
Linting.
1 parent 820ad37 commit d9942d5

File tree

6 files changed

+14
-4
lines changed

6 files changed

+14
-4
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,10 @@ repos:
6464
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$
6565

6666
# Custom hooks can be added below this comment
67+
68+
- repo: file:///home/domdf/Python/01 GitHub Repos/06 Tools/dep_checker
69+
rev: 2201467e3921a35cdae49a3f2474ac19d29382b2
70+
hooks:
71+
- id: dep_checker
72+
args:
73+
- consolekit

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ stages:
3535
jobs:
3636
allow_failures:
3737
- arch: arm64
38+
- python: ['3.10-dev']
3839

3940
exclude:
4041
- python: '3.7'

consolekit/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def overtype(*objects, sep: str = ' ', end: str = '', file: IO = None, flush: bo
105105
All non-keyword arguments are converted to strings like :class:`str` does and written to the stream,
106106
separated by `sep` and followed by `end`.
107107
108-
If no objects are given, :func:`~domdf_python_tools.terminal.overtype` will just write ``"\\r"``.
108+
If no objects are given, :func:`~consolekit.terminal.overtype` will just write ``"\\r"``.
109109
110110
.. TODO:: This does not currently work in the PyCharm console, at least on Windows
111111

doc-source/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sphinx-copybutton>=0.2.12
88
sphinx-notfound-page>=0.5
99
sphinx-prompt>=1.1.0
1010
sphinx-tabs>=1.1.13
11-
sphinx-toolbox>=1.7.1
11+
sphinx-toolbox>=1.7.2
1212
sphinxcontrib-httpdomain>=1.7.0
1313
sphinxemoji>=0.1.6
1414
toctree-plus>=0.0.4

tests/test_terminal_colours_colorama.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
# 3rd party
3434
import pytest
3535
from colorama.ansitowin32 import AnsiToWin32 # type: ignore
36-
from domdf_python_tools.terminal_colours import Back, Fore, Style
36+
37+
# this package
38+
from consolekit.terminal_colours import Back, Fore, Style
3739

3840
stdout_orig = sys.stdout
3941
stderr_orig = sys.stderr

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ deps =
7474
check-wheel-contents>=0.1.0
7575
commands =
7676
python -m pep517.build --source --binary "{toxinidir}"
77-
twine check dist/*
77+
twine check dist/*.tar.gz dist/*.whl
7878
check-wheel-contents dist/
7979

8080
[testenv:lint]

0 commit comments

Comments
 (0)