Skip to content
Merged
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
1 change: 0 additions & 1 deletion annofabapi/dataclass/input.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# ruff: noqa: E501
# pylint: disable=too-many-lines,trailing-whitespace

"""
Expand Down
1 change: 0 additions & 1 deletion annofabapi/dataclass/job.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# ruff: noqa: E501
# pylint: disable=too-many-lines,trailing-whitespace

"""
Expand Down
1 change: 0 additions & 1 deletion annofabapi/dataclass/organization.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# ruff: noqa: E501
# pylint: disable=too-many-lines,trailing-whitespace

"""
Expand Down
1 change: 0 additions & 1 deletion annofabapi/dataclass/supplementary.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# ruff: noqa: E501
# pylint: disable=too-many-lines,trailing-whitespace

"""
Expand Down
2 changes: 1 addition & 1 deletion generate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ OpenAPI Specファイルの間違いを許容する部分/許容しない部分
* `operationId`をスネークケースに変換したもの

### 引数
* Path Prametersの中身を引数にする
* Path Parametersの中身を引数にする
* WebAPIにQuery Parametersがあれば、引数に`query_params`を追加する。
* WebAPIにHeader Parametersがあれば、引数に`header_params`を追加する。
* WebAPIにRequest Bodyがあれば、引数に`request_body`を追加する。
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ test = [
"pytest-cov",
]
linter = [
"ruff>=0.11,<0.12 ; python_version >= '3.12'",
"ruff>=0.12 ; python_version >= '3.12'",
"mypy>=1,<2 ; python_version >= '3.12'",
"pylint>=3,<4 ; python_version >= '3.12'",
"types-requests",
Expand Down Expand Up @@ -111,6 +111,7 @@ ignore = [
"TD", # flake8-todos
"FIX", # flake8-fixme
"SIM108", # if-else-block-instead-of-if-exp, 三項演算子が読みにくい場合もあるので無視する
"UP045", # non-pep604-annotation-optional: Python 3.9をサポートしている間は無視する。

# 以下のルールはコードに合っていないので無効化した
"RSE", # flake8-raise
Expand Down Expand Up @@ -149,6 +150,7 @@ select = [
"G004", # logging-f-string
"SIM", #flake8-simplify
"PLC2401", # non-ascii-name, メソッド名に日本語を利用するため
"RUF059", # unused-unpacked-variable
]


Expand Down
1,734 changes: 871 additions & 863 deletions uv.lock

Large diffs are not rendered by default.