Skip to content

Commit

Permalink
Merge pull request #9 from billsioros/chore/replace-flakeheaven-with-…
Browse files Browse the repository at this point in the history
…ruff

chore: replace `flakeheaven` with `ruff`
  • Loading branch information
billsioros authored May 24, 2023
2 parents 2f82fd5 + 7f88538 commit d34bfa7
Show file tree
Hide file tree
Showing 6 changed files with 260 additions and 714 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,3 @@ Thumbs.db #thumbnail cache on Windows


# End of https://www.toptal.com/developers/gitignore/api/python

.flakeheaven_cache
12 changes: 4 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ ci:
autofix_prs: true
autoupdate_commit_msg: 'ci: `pre-commit.ci` auto update'
repos:
- repo: https://github.com/humitos/mirrors-autoflake.git
rev: v1.1
hooks:
- id: autoflake
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variable']
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
Expand All @@ -18,10 +13,11 @@ repos:
hooks:
- id: black
language_version: python3
- repo: https://github.com/flakeheaven/flakeheaven
rev: 3.3.0
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.269
hooks:
- id: flakeheaven
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
exclude: ^docs|tests
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
Expand Down
19 changes: 0 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,25 +90,6 @@ Queryable \
pip install querpyable
```

In order to locally set up the project please follow the instructions below:

```shell
# Set up the GitHub repository
git init
git config --local user.name Vasilis Sioros
git config --local user.email [email protected]
git add .
git commit -m "feat: initial commit"
git remote add origin https://github.com/billsioros/querpyable

# Create a virtual environment using poetry and install the required dependencies
poetry shell
poetry install

# Install pre-commit hooks
pre-commit install --install-hooks
```

## :book: Documentation

The project's documentation can be found [here](https://billsioros.github.io/querpyable/).
Expand Down
Loading

0 comments on commit d34bfa7

Please sign in to comment.