Skip to content

super-linterのmypyで本リポジトリの設定ファイルを使用する#887

Merged
massongit merged 2 commits intodevelopfrom
change_config_file_name
Mar 9, 2022
Merged

super-linterのmypyで本リポジトリの設定ファイルを使用する#887
massongit merged 2 commits intodevelopfrom
change_config_file_name

Conversation

@massongit
Copy link
Copy Markdown
Member

@massongit massongit commented Mar 9, 2022

[super-linterのmypyで本リポジトリの設定ファイルを使用するようにします。](https://github.com/dev-hato/hato-bot/runs/5481472922?check_suite_focus=true

2022-03-09 14:25:16 [DEBUG]   Running LintCodebase. FILE_TYPE: PYTHON_MYPY. Linter name: mypy, linter command: mypy --config-file /action/lib/.automation/.mypy.ini --install-types --non-interactive, ...

--config-file /action/lib/.automation/.mypy.ini となっており、super-linterのデフォルトの設定ファイルを見に行っています。
これを本リポジトリの .mypy.ini を見にいくようにします。
なお、中身は https://github.com/github/super-linter/blob/main/TEMPLATES/.mypy.ini に合わせますが、これはローカルでもmypyを動かす必要があるためです: #888

@massongit massongit merged commit 201d00f into develop Mar 9, 2022
@massongit massongit deleted the change_config_file_name branch March 9, 2022 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

super-linterにおいてmypy.iniが参照されていない

2 participants