Script to add None as return type to every __init__ in the codebase.
Project description
Automatic add 'None' return type to init
This moduel automatically adds None
return type to every init function, i.e.
def __init__(...) -> None:
Usage
``sh usage: py-add-return-None-to-all-init [-h] [-d] PATH
You can run the module with
```sh
py-add-return-None-to-all-init MY_PYTHON_PROJ [--dry-run]
With the --dry-run
flag it will only be verbose on what it's gonna perform without writing to disk. It will performs the actual run it the dry run flag is not presence.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for add-return-None-to-init-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 806351d3798ded3cc4c05e7e0528bc7f5624828618e592c7e5d4c994a2152378 |
|
MD5 | 67ad5e98252a4490971eb681778c9e9e |
|
BLAKE2b-256 | 7b9e814b65a7778fce0f14e1647aa2d5f79a0755ee48b5643a0b140d45b4d770 |
Close
Hashes for add_return_None_to_init-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8834db7b13cb2fdcaa48916a620313eeb17305100dae74d3c5bab858d3a95615 |
|
MD5 | d68e3536affaadb32660e067f84a935a |
|
BLAKE2b-256 | 392b6b4db459e806536f1ae3b1d88ba22139234d89bb467de76f98b118df7543 |