Skip to content

Commit

Permalink
lint with isort as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dnil committed Nov 22, 2024
1 parent c54ba69 commit 7aad734
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/linting_and_fixing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ jobs:
# stop the build if there are Python syntax errors or undefined names
flake8: true
flake8_args: "stranger/ --count --select=E9,F63,F7,F82 --show-source --statistics"
isort: true
isort_args: "-m 3 --tc --fgw 0 --up -n -l 100"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ uv pip install --editable .
## Usage

```
uv run stranger --help
Usage: stranger [OPTIONS] VCF
Annotate str variants with str status
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,16 @@ target-version = ['py313']
src = ["stranger", "tests", "scripts"]
line-length = 100

[tool.isort]
profile = "black"

[dependency-groups]
dev = [
"pytest-cov>=4.1.0",
"pytest>=7.4.4",
]
lint = [
"black>=23.3.0",
"isort>=5.11.5",
"ruff>=0.8.0",
]
11 changes: 11 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7aad734

Please sign in to comment.