Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Jan 5, 2024
1 parent 11e33c4 commit 7043f9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.PHONY: default
default:

.PHONY: format
format: black isort

.PHONY: black
black:
black -l 100 .
Expand Down
2 changes: 1 addition & 1 deletion chew/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def cli_plot_var_het(

if have_dash_installed:

@cli.command("serve", help="Run report server")
@cli.command("serve", help="Run report server") # type: ignore[attr-defined]
@click.option(
"--annos-tsv",
default=None,
Expand Down
8 changes: 2 additions & 6 deletions chew/common.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Commonly used code"""

import enum
import gzip
import os
import typing
Expand All @@ -8,11 +9,6 @@
from logzero import logger

#: Chromosome lengths in GRCh37.
import enum
import typing

import attrs

CHROM_LENS_GRCH37 = {
"1": 249250621,
"2": 243199373,
Expand Down Expand Up @@ -120,7 +116,7 @@ def pedigree_member_from_tsv(arr: typing.List[str]) -> PedigreeMember:
disease_state=PED_DISEASE_MAP.get(arr[5], DiseaseState.UNKNOWN),
)


@attrs.frozen
class Site:
chrom: str
Expand Down

0 comments on commit 7043f9d

Please sign in to comment.