Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linting issues #179

Merged
merged 3 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
run: |
pytest --cov=snps tests
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

test-extras:
needs: [lint-format, build-docs]
Expand Down
779 changes: 424 additions & 355 deletions Pipfile.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions analysis/parse-opensnp-files/get_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import os

from atomicwrites import atomic_write

from snps.resources import Resources
from snps.utils import create_dir

Expand Down
1 change: 1 addition & 0 deletions analysis/parse-opensnp-files/parse_opensnp_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

import pandas as pd
from atomicwrites import atomic_write

from snps import SNPs
from snps.resources import Resources
from snps.utils import Parallelizer, clean_str, create_dir, save_df_as_csv
Expand Down
1 change: 1 addition & 0 deletions analysis/xy-chrom-snp-ratios/xy-chrom-snp-ratios.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import pandas as pd
from atomicwrites import atomic_write
from matplotlib import patches

from snps import SNPs
from snps.resources import Resources
from snps.utils import Parallelizer, create_dir, save_df_as_csv
Expand Down
1 change: 1 addition & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import numpy as np
import pandas as pd
from pandas.api.types import is_object_dtype, is_unsigned_integer_dtype

from snps import SNPs
from snps.utils import gzip_file, zip_file

Expand Down
2 changes: 1 addition & 1 deletion tests/io/test_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import tempfile

from atomicwrites import atomic_write

from snps.resources import Resources
from snps.utils import gzip_file

from tests import BaseSNPsTestCase


Expand Down
2 changes: 1 addition & 1 deletion tests/io/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

import numpy as np
import pandas as pd

from snps import SNPs
from snps.resources import ReferenceSequence, Resources
from snps.utils import gzip_file

from tests import BaseSNPsTestCase


Expand Down
2 changes: 1 addition & 1 deletion tests/test_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
import numpy as np
import pandas as pd
from atomicwrites import atomic_write

from snps import SNPs
from snps.resources import ReferenceSequence, Resources
from snps.utils import gzip_file

from tests import BaseSNPsTestCase


Expand Down
2 changes: 1 addition & 1 deletion tests/test_snps.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

import numpy as np
import pandas as pd

from snps import SNPs
from snps.io import get_empty_snps_dataframe

from tests import BaseSNPsTestCase


Expand Down
Loading