All Projects → hadialqattan → pycln

hadialqattan / pycln

Licence: MIT license
A formatter for finding and removing unused import statements.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to pycln

LunarVim
An IDE layer for Neovim with sane defaults. Completely free and community driven.
Stars: ✭ 9,296 (+5673.91%)
Mutual labels:  linters, formatters
Nvcode
An IDE layer for Neovim with sane defaults. Completely free and community driven.
Stars: ✭ 6,714 (+4070.19%)
Mutual labels:  linters, formatters
configs
Trunk.io default linter configs
Stars: ✭ 69 (-57.14%)
Mutual labels:  linters, formatters
lighthouse-keeper
This package is no longer under active development. We recommend using Lighthouse CI. CLI tool for running Google’s Lighthouse checks
Stars: ✭ 15 (-90.68%)
Mutual labels:  quality-assurance
haros
H(igh) A(ssurance) ROS - Static analysis of ROS application code.
Stars: ✭ 168 (+4.35%)
Mutual labels:  quality-assurance
esp8266-oled-ssd1306-font-creator
Font creator for the esp8266-oled-ssd1306 library
Stars: ✭ 22 (-86.34%)
Mutual labels:  cli-app
core
Simple backup-application for automated website backups.
Stars: ✭ 11 (-93.17%)
Mutual labels:  cli-app
roundup
un-official mirror of http://hg.code.sf.net/p/roundup/code -- used for CI. Please visit https://issues.roundup-tracker.org for finding starter issues or log new issues.
Stars: ✭ 20 (-87.58%)
Mutual labels:  cli-app
wifiqr
Create a QR code with your Wi-Fi login details
Stars: ✭ 207 (+28.57%)
Mutual labels:  cli-app
extensiveautomation-server
Extensive Automation server
Stars: ✭ 19 (-88.2%)
Mutual labels:  quality-assurance
Scopy
An integrated negative design python library for desirable HTS/VS database design
Stars: ✭ 28 (-82.61%)
Mutual labels:  pypi-package
leak
Show info about package releases on PyPI.
Stars: ✭ 15 (-90.68%)
Mutual labels:  cli-app
qaz
qaz—A CLI tool for Templating & Managing stacks in AWS Cloudformation
Stars: ✭ 89 (-44.72%)
Mutual labels:  cli-app
delete-react-zombies
CLI to search and delete unimported 🧟components in your react ⚛️ files
Stars: ✭ 70 (-56.52%)
Mutual labels:  cli-app
smuggler
🚣 Smuggle all imports
Stars: ✭ 72 (-55.28%)
Mutual labels:  unused-imports
heel-gun
Test HTTP servers for robustness to arbitrary requests
Stars: ✭ 17 (-89.44%)
Mutual labels:  cli-app
software-testing-resource-pack
Various files useful for manual testing and test automation etc.
Stars: ✭ 38 (-76.4%)
Mutual labels:  quality-assurance
editoria11y
A user-friendly automatic content accessibility checker.
Stars: ✭ 23 (-85.71%)
Mutual labels:  quality-assurance
s3kit
AWS S3 CLI tooklit
Stars: ✭ 21 (-86.96%)
Mutual labels:  cli-app
lightweight-push-pip
A lightweight way to push messages to Android devices (pip library package).
Stars: ✭ 14 (-91.3%)
Mutual labels:  pypi-package

Logo

A formatter for finding and removing unused import statements.

Pycln Docs CI CD FUZZ Codacy Badge Codecov Maintainability

PYPI - Python Version PYPI - Pycln Version Total Downloads Downloads Lines Of Code

Forks Stars Issues Pull Requests Contributors Last Commit License

Docstrings: reStructuredText Code style: black Code style: prettier


Read the documentation on Github pages!


Installation and usage

Installation

Pycln requires Python 3.6+ and can be easily installed using the most common Python packaging tools. We recommend installing the latest stable release from PyPI with pip:

$ pip install pycln

Usage

By default Pycln will remove any unused import statement, So the simplest usage is to specify the path only:

$ pycln [PATH]

Also, it's possible to run pycln as a package:

$ python3 -m pycln [PATH]

NOTE: you may need to use -a/--all option for more satisfying results. see -a/--all flag.

Further information can be found in our docs:

Configuration

Pycln is able to read project-specific default values for its command line options from a configuration file like pyproject.toml or setup.cfg. This is especially useful for specifying custom CLI arguments/options like path/paths, --include, --exclude/--extend-exclude, or even --all.

You can find more details in our documentation:

And if you're looking for more general configuration documentation:

Used by

The following notable open-source projects trust and use Pycln:

The following organizations use Pycln:

Are we missing anyone? Let us know.

License

MIT

Contributing

A big welcome for considering contributing to make the project better!

You can get started by reading this:

You can also dive directly into the technicalities:

Change log

The log has become rather long. It moved to its own file.

See CHANGELOG.

Authors

The author list is quite long nowadays, so it lives in its own file.

See AUTHORS

Code of Conduct

Everyone participating in the Pycln project, and in particular in the issue tracker, and pull requests is expected to treat other people with respect.


Give a ⭐️ if this project helped you!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].