Skip to content

v0.9.0

Compare
Choose a tag to compare
@thibaudcolas thibaudcolas released this 13 May 23:06

v0.9.0 2020-05-14

Added

  • Add support for configuring and disabling individual rules via configuration file, under [tool.curlylint.rules].
  • Add support for tabs as indentation, with indent = 'tab'.
  • Add a way to configure rules via CLI parameters, with --rule: curlylint --rule 'indent: 2' template-directory/.
  • Support piping template contents from stdin with "-" as the file path.
  • Publish curlylint as typed with a py.typed file and Typing :: Typed classifier.
  • Add --stdin-filepath CLI flag to provide a pretend path when linting standard input.

Changed

  • Indentation is now enforced via the rules configuration, e.g. indent = 4 underneath [tool.curlylint.rules], instead of a top-level indent-size configuration.