diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index af6bd3d..d72436d 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -10,6 +10,8 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +## [1.3.0] - 2022-04-16 + ### Added - [A global module/package/library imports skipping option (`--skip-imports`) @hadialqattan](https://github.com/hadialqattan/pycln/pull/121) diff --git a/docs/README.md b/docs/README.md index 0e95b01..e407004 100644 --- a/docs/README.md +++ b/docs/README.md @@ -144,9 +144,7 @@ $ pycln [PATH] > Skip module/package/library imports for all files (globally). -Please see -[--skip-imports](https://hadialqattan.github.io/pycln/#/?id=-skip-imports-option) -option. +Please see [--skip-imports](?id=-skip-imports-option) option. ## CLI Arguments @@ -176,9 +174,8 @@ option. Notes about reading from `STDIN`: - For the time being, both the final report and the formatted code will be sent to - `STDOUT`, therefore, it's necessary to use - [`-s/--silence`](https://hadialqattan.github.io/pycln/#/?id=-s-silence-flag) flag in - order to receive only the formatted code via `STDOUT`. + `STDOUT`, therefore, it's necessary to use [`-s/--silence`](?id=-s-silence-flag) flag + in order to receive only the formatted code via `STDOUT`. - You can read from `STDIN` and provide normal paths at the same time (the order doesn't matter). @@ -213,8 +210,8 @@ Notes about reading from `STDIN`: $ pycln --skip-imports x --skip-imports y ``` -- Via a [config file](https://hadialqattan.github.io/pycln/#/?id=-config-path-option) - (`.toml`, `.cfg`, `.yaml`, `.yml`, `.json`) by providing: +- Via a [config file](?id=-config-path-option) (`.toml`, `.cfg`, `.yaml`, `.yml`, + `.json`) by providing: - a list of names in a pythonic list format (`.toml` example): ```.toml skip_imports = [x, y, z] @@ -1135,7 +1132,7 @@ finally: ```yaml - repo: https://github.com/hadialqattan/pycln - rev: v1.2.5 # Possible releases: https://github.com/hadialqattan/pycln/releases + rev: v1.3.0 # Possible releases: https://github.com/hadialqattan/pycln/releases hooks: - id: pycln args: [--config=pyproject.toml] diff --git a/docs/_coverpage.md b/docs/_coverpage.md index 3ec3612..4e2cc42 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -4,7 +4,7 @@ -# Pycln 1.2.5 +# Pycln 1.3.0 > A formatter for finding and removing unused import statements. diff --git a/pyproject.toml b/pyproject.toml index 952ca1d..5eb893a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pycln" -version = "1.2.5" +version = "1.3.0" description = "A formatter for finding and removing unused import statements." authors = ["Hadi Alqattan "] homepage = "https://hadialqattan.github.io/pycln"