Skip to content

v0.7.0

Compare
Choose a tag to compare
@thibaudcolas thibaudcolas released this 16 Apr 18:55

v0.7.0 2020-04-16

Generally reworked the CLI to match the experience of black.

Added

  • Improve command line output, matching experience provided by black.
  • Add dependencies on toml, pathspec, dataclasses.
  • Automatically look for the configuration based on provided source paths.
  • Add support for excluding files from linting with the --exclude / exclude config.
  • Add support for including files for linting with the --include / include config.
  • Add automatic reading of .gitignore and exclusion of all files ignored there.
  • Add excludes for more common build tool folders: venv, myvenv, coverage_html_report, node_modules.

Changed

  • Add a python_requires to enforce support of Python 3.6+ only.
  • Switch from docopt to click, like black, with an open-end version range.
  • Change curlylint to abort if no input is provided.
  • Add -q / --quiet CLI flag.
  • Switch from Python config files to pyproject.toml

Removed

  • Remove support for --extension flag. Use --include (or include in the config file) instead.