-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from cokelaer/main
Uses click and pyproject
- Loading branch information
Showing
14 changed files
with
213 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
files: '\.(py|rst|sh)$' | ||
fail_fast: false | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.2.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
#- id: check-executables-have-shebangs | ||
- id: check-ast | ||
|
||
- repo: https://github.com/pycqa/flake8 | ||
rev: 6.1.0 | ||
hooks: | ||
- id: flake8 | ||
args: ["-j8", "--ignore=E203,E501,W503,E722", "--max-line-length=120", "--exit-zero"] | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 22.10.0 | ||
hooks: | ||
- id: black | ||
args: ["--line-length=120"] | ||
exclude: E501 | ||
|
||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
args: ["--profile", "black"] # solves conflicts between black and isort | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: sequana_downsampling | ||
|
||
channels: | ||
- conda-forge | ||
- bioconda | ||
- defaults | ||
- r | ||
|
||
dependencies: | ||
- pigz | ||
- pip: | ||
- sequana | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry] | ||
name = "sequana-downsampling" | ||
version = "0.10.0" | ||
description = "tandem repeat finder pipeline" | ||
authors = ["Sequana Team"] | ||
license = "BSD-3" | ||
repository = "https://github.com/sequana/downsampling" | ||
readme = "README.rst" | ||
keywords = ["snakemake", "NGS", "sequana", "fastq", "downsampling"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Education", | ||
"Intended Audience :: End Users/Desktop", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Scientific/Engineering :: Bio-Informatics", | ||
"Topic :: Scientific/Engineering :: Information Analysis", | ||
] | ||
|
||
packages = [ | ||
{include = "sequana_pipelines"} | ||
] | ||
|
||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8,<4.0" | ||
sequana = ">=0.16.4" | ||
sequana_pipetools = ">=0.16.6" | ||
click-completion = "^0.5.2" | ||
click = "^8.1.7" | ||
rich-click = "^1.7.2" | ||
|
||
|
||
|
||
[tool.poetry.scripts] | ||
sequana_downsampling = "sequana_pipelines.downsampling.main:main" | ||
|
||
|
||
[tool.poetry.group.dev.dependencies] | ||
black = "^23.7.0" | ||
pytest = "^7.4.0" | ||
mock = "^5.1.0" | ||
pytest-mock = "^3.11.1" | ||
pytest-cov = "^4.1.0" | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.