From b8795da690107211d656263a38875c7dd5c644f6 Mon Sep 17 00:00:00 2001 From: Hadi Zaki Alqattan Date: Sat, 3 Oct 2020 00:15:06 +0300 Subject: [PATCH] Release v0.0.1-alpha.2 --- .pre-commit-config.yaml | 6 ++++++ README.md | 2 +- docs/CHANGELOG.md | 10 ++++++++++ docs/_coverpage.md | 2 +- pyproject.toml | 5 ++++- 5 files changed, 22 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0735734..ec49dbd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,10 @@ repos: + - repo: https://github.com/hadialqattan/pycln + rev: stable # To specify a release: https://github.com/hadialqattan/pycln/tags + hooks: + - id: pycln + args: [--config=pyproject.toml] + - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 hooks: diff --git a/README.md b/README.md index 130e9d5..3e557f5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Logo

- A formatter for finding and removing unused import statements. + A formatter for finding and removing unused import statements.

diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 2ddcebb..01e61c4 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -10,6 +10,16 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +## [0.0.1-alpha.2] - 2020-10-03 + +### Added + +- [Add Pycln hook to `pre-commit-config.yaml` by @hadialqattan](https://github.com/hadialqattan/pycln/pull/13) + +### Removed + +- [Remove tags on PyPI/README.md (can't be rendered) by @hadialqattan](https://github.com/hadialqattan/pycln/pull/13) + ## [0.0.1-alpha.1] - 2020-10-02 ### Changed diff --git a/docs/_coverpage.md b/docs/_coverpage.md index bc2180a..32e3ec9 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -4,7 +4,7 @@ -# Pycln 0.0.1-alpha.1 +# Pycln 0.0.1-alpha.2 > A formatter for finding and removing unused import statements. diff --git a/pyproject.toml b/pyproject.toml index afac1fb..b3d29e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pycln" -version = "0.0.1-alpha.1" +version = "0.0.1-alpha.2" description = "A formatter for finding and removing unused import statements." authors = ["Hadi Alqattan "] repository = "https://github.com/hadialqattan/pycln" @@ -40,6 +40,9 @@ pytest-randomly = "^3.4.1" oschmod = "^0.3.9" # Pre-commit hooks related config. +[tool.pycln] +all = true + [tool.isort] line_length = 88 multi_line_output = 3