Closed sakurai-youhei closed 10 months ago
@gbanasiak Thank you for your comments. Please feel free to bring up anything.
# type: ignore[arg-type]
with TODO comment.check_untyped_defs = true
is needed. 👍 @gbanasiak Here are the highlights in this round. I appreciate a fresh pair of eyes as this PR gets bigger. Thanks.
esrally.types
to avoid circular references between esrally.config
and other modules.cfg
and config
around functions.Union[T, None]
with Optional[T]
.# pylint: disable=C0301
.P.S. Although I wrote “fresh”, I just meant the second pair; not a new pair from someone else.
git-rebased in the source branch because this PR gets aged.
@gbanasiak I didn't notice my git-rebase messed it up. I reverted it instead of appending something more.
Thank you very much for your review. I've learned a lot through this PR. I will merge this PR once all the CI checks have passed.
This PR will introduce a type check by mypy, which helps find illegal literals on the config section and key.
Relates #1646