Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lniterを使用しboolのvariableでデフォルト値の指定を強制できるようにする #304

Open
Syuparn opened this issue Jun 30, 2024 · 0 comments
Labels
バックエンド OpenFIsca Python API

Comments

@Syuparn
Copy link
Contributor

Syuparn commented Jun 30, 2024

As Is or how to reproduce if it's bug

formula メソッドを持たない value_type = bool のvariableに対しては default_value が必要だが、指定を忘れても気づけない

To Be

default_value の指定が無いとlinterでエラーが発生する

Action

linterにルールを追加

  • OpenFisca独自の要素なのでlinterルールを自前で実装する必要がある

Problem

(現状分かっている課題を記載)

Note

イシューに着手した方は、他コントリビューターと重複を防ぐために着手したことをコメントに記載お願いします

@Syuparn Syuparn added the バックエンド OpenFIsca Python API label Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
バックエンド OpenFIsca Python API
Projects
None yet
Development

No branches or pull requests

1 participant