Skip to content

Commit

Permalink
Bump v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hadialqattan committed Apr 15, 2022
1 parent f7bae06 commit af83450
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 2 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
15 changes: 6 additions & 9 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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).

Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion docs/_coverpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<!-- Title & body -->

# Pycln <small>1.2.5</small>
# Pycln <small>1.3.0</small>

> A formatter for finding and removing unused import statements.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
homepage = "https://hadialqattan.github.io/pycln"
Expand Down

0 comments on commit af83450

Please sign in to comment.