Usage and configuration
Sometimes, running PyMend with its defaults and passing filepaths to it just won’t cut it. Passing each file using paths will become burdensome, and maybe you would like PyMend to not touch your files and just output diffs. And yes, you can tweak certain parts of PyMends’s style.
Using many of these more advanced features of PyMend will require some configuration. Configuration that will either live on the command line or in a TOML configuration file.
This section covers features of PyMend and configuring PyMend in detail:
- The basics
- Usage
- Command line options
--diff/--write/--check-only-o,--output-style-i,--input-style--force-docstrings/--noforce-docstrings--force-params/--noforce-params--force-params-min-n-params--force-arg-types/--unforce-arg-types/--noforce-arg-types--force-defaults/--noforce-defaults--force-return/--noforce-return--force-return-type/--unforce-return-type/--noforce-return-type--force-meta-min-func-length--force-raises/--noforce-raises/--force-raises-per-type--force-methods/--noforce-methods--property-decorators--additional-excluded-decorators--force-attributes/--noforce-attributes--force-attribute-types/--unforce-attribute-types/--noforce-attribute-types--attribute-class-decorators--attribute-base-classes--force-summary-period/--noforce-summary-period--force-summary-blank-line/--noforce-summary-blank-line--force-multiline-docs-end-with-blank/--unforce-multiline-docs-end-with-blank--ignore-privates/--handle-privates--ignore-unused-arguments/--handle-unused-arguments--ignored-decorators--ignored-functions--ignored-classes--indent--exclude--extend-exclude-q,--quiet-v,--verbose--version--config-h,--help
- Output verbosity
- Configuration via a file
- What on Earth is a
pyproject.tomlfile? - Where PyMend looks for the file
- Configuration format
- Command line options
- Usage