Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Use is to compare type of objects #69

Merged
merged 1 commit into from
Oct 25, 2021
Merged

Use is to compare type of objects #69

merged 1 commit into from
Oct 25, 2021

Conversation

deepsource-autofix[bot]
Copy link
Contributor

No description provided.

@ggirelli ggirelli merged commit 8cc1063 into dev Oct 25, 2021
@ggirelli ggirelli deleted the deepsource-fix-3020fa1c branch October 25, 2021 21:55
ggirelli added a commit that referenced this pull request Oct 26, 2021
* Updated requirements.

* Bump numpy from 1.20.1 to 1.20.2 (#6)

* Bump rich from 9.13.0 to 10.0.0 (#7)

* Bump rich from 10.0.0 to 10.0.1 (#8)

* Bump tqdm from 4.59.0 to 4.60.0 (#11)

* Bump pytest from 6.2.2 to 6.2.3 (#10)

* Bump rich from 10.0.1 to 10.1.0 (#9)

* Bump black from 20.8b1 to 21.4b0 (#12)

* Bump black from 21.4b0 to 21.4b1 (#13)

* Bump black from 21.4b1 to 21.4b2 (#14)

* Bump pytest from 6.2.3 to 6.2.4 (#15)

* Bump black from 21.4b2 to 21.5b0 (#16)

* Bump rich from 10.1.0 to 10.2.0 (#19)

* Bump black from 21.5b0 to 21.5b1 (#17)

* Bump numpy from 1.20.2 to 1.20.3 (#18)

* Bump rich from 10.2.0 to 10.2.2 (#21)

* Bump black from 21.5b1 to 21.5b2 (#23)

* Bump tqdm from 4.60.0 to 4.61.0 (#22)

* Bump biopython from 1.78 to 1.79 (#24)

* Bump rich from 10.2.2 to 10.3.0 (#25)

* Bump black from 21.5b2 to 21.6b0 (#26)

* Bump tqdm from 4.61.0 to 4.61.1 (#27)

* Bump rich from 10.3.0 to 10.4.0 (#28)

* Bump h5py from 3.2.1 to 3.3.0 (#30)

* Bump numpy from 1.20.3 to 1.21.0 (#29)

* Bump rich from 10.4.0 to 10.5.0 (#31)

* Bump tqdm from 4.61.1 to 4.61.2 (#32)

* Bump rich from 10.5.0 to 10.6.0 (#33)

* Bump black from 21.6b0 to 21.7b0 (#34)

* Bump numpy from 1.21.0 to 1.21.1 (#35)

* Bump tqdm from 4.61.2 to 4.62.0 (#36)

* Bump rich from 10.6.0 to 10.7.0 (#37)

* Bump tqdm from 4.62.0 to 4.62.1 (#38)

* Bump h5py from 3.3.0 to 3.4.0 (#39)

* Bump tqdm from 4.62.1 to 4.62.2 (#40)

* Bump rich from 10.7.0 to 10.9.0 (#41)

* Bump pytest from 6.2.4 to 6.2.5 (#42)

* Bump black from 21.7b0 to 21.8b0 (#43)

* Bump black from 21.8b0 to 21.9b0 (#45)

* Bump tqdm from 4.62.2 to 4.62.3 (#46)

* Bump rich from 10.9.0 to 10.10.0 (#47)

* Bump rich from 10.10.0 to 10.11.0 (#48)

* Bump rich from 10.11.0 to 10.12.0 (#49)

* Bump joblib from 1.0.1 to 1.1.0 (#50)

* 'Refactored by Sourcery' (#44)

Co-authored-by: Sourcery AI <>

* Added and passing pre-commits

* fix: removed requirements.txt

* Create .deepsource.toml

* Switching from `argparse` to `click` (#52)

* fix: removed vulture pre-commit hook

* fix: added click dependency

* feat: added tempdir setter function

* feat: switched from argparse to click

* fix: unnecessary f-strings

* 'Refactored by Sourcery' (#53)

Co-authored-by: Sourcery AI <>

* fix: blacked after sourcery

* fix: refactored

* fix: refactored

* feat: common click arguments to module and removed unused assert enable

* refactor: moved copy batches to io module

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* fix: fixed flake8 hook and passed

* fix: mypyed

* Setting up new workflow (#54)

* test: setting up new workflow

* fix: added trigger on PR to dev

* fix: switching poetry install to action

* test: removed poetry run

* fix: added cache load and changed poetry install

* fix: testing again with poetry run

* test: using .venv

* fix: use poetry shell

* fix: based on snok action

* feat: added poetry install caching

* feat: added isort and darglint

* feat: added isort pre-commit hook

* fix: mypyed

* fix: docstrings and updated pre-commits with darglint

* 'Refactored by Sourcery' (#55)

Co-authored-by: Sourcery AI <>

* fix: darglint support to flake8 workflow step

* fix: blacked after sorcery

* fix: mypy missing type

* ci: removed old workflow

* fix: pytested

* 'Refactored by Sourcery' (#56)

Co-authored-by: Sourcery AI <>

* fix: removed extra safety argument

* ci: removed safety check

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* Renamed package.

* ci: reset cache

* Remove blank lines after docstring (#57)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Fix comparison constant position (#58)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Fix `type` operand placement (#59)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Remove unnecessary `pass` (#60)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Change methods not using its bound instance to staticmethods (#61)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Remove methods with unnecessary super delegation. (#62)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Remove assert statement from non-test files (#63)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* 'Refactored by Sourcery' (#64)

Co-authored-by: Sourcery AI <>

* fix: mypyed, flaked, darglinted, pytested

* ci: added test_patterns for deepsource

* Remove methods with unnecessary super delegation. (#65)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Refactor unnecessary `else` / `elif` when `if` block has a `return` statement (#66)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Iterate dictionary directly (#67)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Refactor unnecessary `else` / `elif` when `if` block has a `break` statement (#68)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Use `is` to compare type of objects (#69)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* `raise NotImplementedError` in empty functions (#71)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Remove implicit `object` from the base class (#72)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* Merge collapsible `with` statements (#73)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* 'Refactored by Sourcery' (#70)

Co-authored-by: Sourcery AI <>

* fix: reversed wrong automatic fix

* Remove assert statement from non-test files (#74)

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>

* fix: unassigned string

* ci: removed empty line

* fix: removed empty line before docstring

* fix: addedd missing raises docstrings

* fix: added missing class docstring

* fix: add missing docstrings, see issue #79 (#81)

* fix: added missing docstrings

* fix: added missing docstrings

* fix: accidental recursion

* fix: pytested and added missing docstring

* docs: added missing method docstrings

* docs: added missing docstrings to parsers module

* docs: added missing docstrings to join module

* docs: added docstrings to io module

* docs: added missing docstrings to batcher module

* fix: added missing docstrings to batch module

* docs: added missing docstrings to abundance module

* 'Refactored by Sourcery' (#82)

Co-authored-by: Sourcery AI <>

* ci: blacked after sourcery

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* fix: function contains unused argument (PYL-W0613), closes #75 (#83)

* fix: removed unused method arguments from join module

* fix: fixed unused method arguments in abundance module

* fix: incorrect method overriding

* fix: nested next in try-except

* fix: integer indexing

* fix: replaced stopiteration with return

* fix: batch size now properly set

* docs: updated README

* v1.0.0

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant