Skip to content

Commit

Permalink
[docs] 0.1.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
ftnext committed Oct 12, 2024
1 parent 7e4a1bf commit 1b02709
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# flake8-kotoha

**K**o**T**o**H**a: **K**aizen **T**ype **H**int
[**K**o**T**o**H**a](https://millionlive-theaterdays.idolmaster-official.jp/idol/kotoha/): **K**aizen **T**ype **H**int

## Install

Expand All @@ -11,7 +11,7 @@ $ pipx install flake8
$ pipx inject flake8 flake8-kotoha
$ flake8 -h
...
Installed plugins: flake8-kotoha: 0.0.1, ...
Installed plugins: flake8-kotoha: 0.1.0, ...
```

venv + pip
Expand All @@ -21,7 +21,7 @@ $ python -m venv .venv --upgrade-deps
$ .venv/bin/python -m pip install flake8-kotoha
$ .venv/bin/flake8 -h
...
Installed plugins: flake8-kotoha: 0.0.1, ...
Installed plugins: flake8-kotoha: 0.1.0, ...
```

## Usage
Expand All @@ -33,7 +33,7 @@ def plus_one(numbers: list[int]) -> list[int]:

```sh
$ flake8 example.py
example.py:1:14: KTH000 concrete type (`list`, `dict`, `set`, `tuple`) in function parameters, use abstract type (`Iterable`, `Sequence` or `Mapping` from `collections.abc`)
example.py:1:14: KTH101 Type hint with abstract type `collections.abc.Iterable` or `collections.abc.Sequence`, instead of concrete type `list`
```

## Error codes
Expand Down

0 comments on commit 1b02709

Please sign in to comment.