datavorous / yars

Yet Another Reddit Scrapper (without API keys) | Scrap search results, posts and images from subreddits filtered by hot, new etc and bulk download any user's data.
MIT License
21 stars 11 forks source link

Black formatting #9

Closed CoolCat467 closed 1 month ago

CoolCat467 commented 1 month ago

In this pull request, we format all of the code in the project with the Black code formatter, as well as sort imports with ruff's isort rule and remove unused imports with pycln.

To facilitate future automatic formatting, this has been done using pre-commit, and is intended to be used in conjunction with pre-commit.ci.

Pre-commit.ci runs your pre-commit hooks automatically on every pull request. This ensures that code quality checks, such as formatting with Black, are consistently applied without requiring manual intervention. Pre-commit.ci additionally can automatically format future pull requests, ensuring adherence to the black formatting style.

Closes #8.

This pull request shouldn't make any functional changes to the project, purely formatting.

Full disclosure, I am submitting this as a part of Hacktoberfest 2024.