Skip to content

Latest commit

 

History

History
246 lines (127 loc) · 8.66 KB

CHANGELOG.md

File metadata and controls

246 lines (127 loc) · 8.66 KB

0.13.1 (2019-06-07)

Bug Fixes

  • show warning about project being renamed to "nitpick" (fda30fd)

0.13.0 (2019-06-06)

Features

0.12.0 (2019-06-03)

Features

  • get default style file from current version, not from master (e0dccb8)

0.11.0 (2019-03-31)

Features

0.10.3 (2019-03-13)

Bug Fixes

  • ignore FileNotFoundError when removing cache dir (837bddf)

0.10.2 (2019-03-13)

Bug Fixes

  • don't remove cache dir if it doesn't exist (FileNotFoundError) (d5b6ec9)

0.10.1 (2019-03-11)

Bug Fixes

  • fetch private GitHub URLs with a token on the query string (4cfc118)

0.10.0 (2019-03-11)

Features

  • assume style has a .toml extension when it's missing (5a584ac)
  • read local style files from relative and other root dirs (82d3675)
  • read relative styles in subdirectories of a symlink dir (55634e1)
  • read styles from relative paths on URLs (46d1b84)

0.9.0 (2019-03-06)

Features

  • improve error messages (8a1ea4e)
  • minimum required version on style file (4090cdc)
  • one style file can include another (also recursively) (d963a8d)

0.8.1 (2019-03-04)

Bug Fixes

  • setup.cfg: comma separated values check failing on pre-commit (27a37b6)
  • setup.cfg: comma separated values still failing on pre-commit, only on the first run (36ea6f0)

0.8.0 (2019-03-04)

Bug Fixes

  • keep showing other errors when pyproject.toml doesn't exist (dc7f02f)
  • move nitpick config to an exclusive section on the style file (cd64361)
  • use only yield to return values (af7d8d2)
  • use yaml.safe_load() (b1df589)

Features

  • allow configuration of a missing message for each file (fd053aa)
  • allow multiple style files (22505ce)
  • check root keys on pre-commit file (e.g.: fail_fast) (9470aed)
  • invalidate cache on every run (e985a0a)
  • suggest initial contents for missing setup.cfg (8d33b18)
  • suggest installing poetry (5b6038c)
  • pre-commit: suggest pre-commit install (76b980f)

BREAKING CHANGES

  • Comma separated values was moved to a different section in the TOML file:

Before: ["setup.cfg".nitpick] comma_separated_values = ["food.eat"]

Now: [nitpick.files."setup.cfg"] comma_separated_values = ["food.eat"]

  • The format of the absent files has changed in the style TOML file.

Before: [[files.absent]] file = "remove-this.txt" message = "This file should be removed because of some reason" [[files.absent]] file = "another-useless-file-without-message.cfg"

Now: [nitpick.files.absent] "remove-this.txt" = "This file should be removed because of some reason" "another-useless-file-without-message.cfg" = ""

0.7.1 (2019-02-14)

Bug Fixes

  • Missing flake8 entry point on pyproject.toml (a416007)

0.7.0 (2019-02-14)

Features

  • Suggest initial contents for missing .pre-commit-config.yaml (16a6256)

0.6.0 (2019-01-28)

Features

  • Configure comma separated values on the style file (7ae6622)
  • Suggest poetry init when pyproject.toml does not exist (366c2b6)

Bug Fixes

  • DeprecationWarning: Using or importing the ABCs from 'collections' in (80f7e24)

0.5.0 (2019-01-09)

Features

  • Add .venv to the absent files list (153a7ca)
  • Add flake8-quotes to the default style (60b3726)

0.4.0 (2019-01-07)

Features

  • Check files that should not exist (like .isort.cfg) (1901bb8)
  • Check pre-commit config file and the presence of hooks (b1333db)
  • Warn about replacing requirements.txt by pyproject.toml (dacb091)

Bug Fixes

  • Don't break when pyproject.toml or setup.cfg don't exist (6a546c1)
  • Only check rules if the file exists (66e42d2)

0.3.0 (2019-01-03)

Features

  • Show different key/value pairs on pyproject.toml, case insensitive boolean values (30e03eb)

Bug Fixes

  • KeyError when section does not exist on setup.cfg (e652604)

0.2.0 (2018-12-23)

Features

  • Check missing key/value pairs in pyproject.toml (190aa6c)
  • Compare setup.cfg configuration (2bf144a)
  • First warning, only on the main Python file (0b30506)
  • Read config from pyproject.toml, cache data, run only on one Python (265daa5)
  • Read style from TOML file/URL (or climb directory tree) (84f19d6)
  • Respect the files section on nitpick.toml (9e36a02)
  • Use nitpick's own default style file if none is provided (4701b86)

0.1.1 (2018-03-23)

README badges.

0.1.0 (2018-03-23)

First release.