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

style: Enforce mypy no-implicit-optional setting #132

Merged
merged 1 commit into from
Oct 23, 2022

Conversation

playpauseandstop
Copy link
Owner

Which has been introduced in mypy==0.981 and enforce proper type annotations for args / kwargs with default None value.

@playpauseandstop playpauseandstop added style Changes that do not affect the meaning of the code refactor A code change that neither fixes a bug nor adds a feature labels Oct 23, 2022
@playpauseandstop playpauseandstop self-assigned this Oct 23, 2022
Which has been introduced in `mypy==0.981` and enforce proper type
annotations for args / kwargs with default `None` value.
@coveralls
Copy link

coveralls commented Oct 23, 2022

Coverage Status

Coverage remained the same at 100.0% when pulling af644db on style/mypy-no-implicit-optional into b1ef521 on main.

@playpauseandstop playpauseandstop enabled auto-merge (squash) October 23, 2022 13:40
@playpauseandstop playpauseandstop merged commit 865d135 into main Oct 23, 2022
@playpauseandstop playpauseandstop deleted the style/mypy-no-implicit-optional branch October 23, 2022 13:42
badabump-release-bot bot pushed a commit that referenced this pull request Oct 23, 2022
Other:
------

- Sync common project files (#119)
- (**docs**) Bump requirements for docs (#121)
- Use poetry 1.2.0 for managing project dependencies (#122)
- Fix read the docs configuration (#124)
- Tell poetry to not create virtual envs at read the docs (#125)
- Install project and docs deps on post install job (#126)
- Do not expect to fail on Python 3.11 (#123)
- (**deps**) bump peter-evans/create-pull-request from 4.0.4 to 4.1.2 (#128)
- Sync common project files (#130)
- Update Python dev version to 3.10.8 (#131)
- Enforce mypy no-implicit-optional setting (#132)
- Integrate no-optional pre-commit hook (#133)
playpauseandstop added a commit that referenced this pull request Oct 23, 2022
Other:
------

- Sync common project files (#119)
- (**docs**) Bump requirements for docs (#121)
- Use poetry 1.2.0 for managing project dependencies (#122)
- Fix read the docs configuration (#124)
- Tell poetry to not create virtual envs at read the docs (#125)
- Install project and docs deps on post install job (#126)
- Do not expect to fail on Python 3.11 (#123)
- (**deps**) bump peter-evans/create-pull-request from 4.0.4 to 4.1.2 (#128)
- Sync common project files (#130)
- Update Python dev version to 3.10.8 (#131)
- Enforce mypy no-implicit-optional setting (#132)
- Integrate no-optional pre-commit hook (#133)

Co-authored-by: playpauseandstop <playpauseandstop@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor A code change that neither fixes a bug nor adds a feature style Changes that do not affect the meaning of the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants