You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking into Pylint I discover they also ship a script called symilar, to check for copy-pasted code.
I hope this will never detect anything, but since many people are working on these projects I have a preference for more automated tests (and being shipped by Pylint I consider it reliable and maintained, and we would not need any further dep).
Moreover, I'd like to introduce mypy checks as well, even if as a first step I would make failures opt-in.
Type hints are optional, but also incremental, so mypy will try to infer as much as possible, and more we'll use consistent types and type hints (as it is happening with dataclass, that make them mandatory) more useful mypy checks will be.
The text was updated successfully, but these errors were encountered:
Looking into Pylint I discover they also ship a script called
symilar
, to check for copy-pasted code.I hope this will never detect anything, but since many people are working on these projects I have a preference for more automated tests (and being shipped by Pylint I consider it reliable and maintained, and we would not need any further dep).
Moreover, I'd like to introduce
mypy
checks as well, even if as a first step I would make failures opt-in.Type hints are optional, but also incremental, so
mypy
will try to infer as much as possible, and more we'll use consistent types and type hints (as it is happening withdataclass
, that make them mandatory) more usefulmypy
checks will be.The text was updated successfully, but these errors were encountered: