Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 24.4.2
hooks:
- id: black
exclude: ^pdm/_vendor

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 7.1.0
hooks:
- id: flake8

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.1.1
rev: v1.10.1
hooks:
- id: mypy
args: [cfonts]
Expand Down
1 change: 1 addition & 0 deletions cfonts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
:license: GNU GPLv2
:author: Frost Ming<[email protected]>
"""

__all__ = ["say", "render"]

from .core import render, say
1 change: 1 addition & 0 deletions cfonts/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
:license: GNU GPLv2
:author: Frost Ming<[email protected]>
"""

__version__ = "1.5.2"
1 change: 1 addition & 0 deletions cfonts/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
:license: GNU GPLv2
:author: Frost Ming<[email protected]>
"""

import argparse
import sys
from typing import List, Optional
Expand Down
1 change: 1 addition & 0 deletions cfonts/colors.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Utility functions for handling terminal colors
"""

import os
from typing import Iterable, List, Mapping, NamedTuple, Tuple, no_type_check

Expand Down
1 change: 1 addition & 0 deletions cfonts/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
:license: GNU GPLv2
:author: Frost Ming<[email protected]>
"""

import enum
from shutil import get_terminal_size
from typing import Mapping, Tuple
Expand Down
1 change: 1 addition & 0 deletions cfonts/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
:license: GNU GPLv2
:author: Frost Ming<[email protected]>
"""

import argparse
import json
import pkgutil
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""pytest configuration"""

import re

import pytest
Expand Down