Releases: andreoliwa/nitpick
Releases · andreoliwa/nitpick
v0.10.0
v0.9.0
v0.8.1
v0.8.0
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)
build
- update setup.py (ee227f1)
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)
Tests
- absent files (d3ca8c4)
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" = ""
v0.7.1
v0.7.0
v0.6.0
build
ci
- Add code coverage with Coveralls (#5) (3995e13), closes #5
- Fix Coveralls badge (point to master) (bae533d)
- Run flake8 and pytest on Travis (dbb6000)
docs
- Add more info to pyproject.toml (1e0d1a2)
feat
- Configure comma separated values on the style file (7ae6622)
- Suggest poetry init when pyproject.toml does not exist (366c2b6)
fix
- DeprecationWarning: Using or importing the ABCs from 'collections' in (80f7e24)
style
- Ignore build dir on flake8 and isort (1c18ce3)
- Ignore tox dir (flake8), set tests module as first party (isort) (4fbad20)
test
v0.5.0
v0.4.0
feat
- 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)
fix
- Don't break when pyproject.toml or setup.cfg don't exist (6a546c1)
- Only check rules if the file exists (66e42d2)