-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to pyproject and compatibility python 3.11/12
- Loading branch information
Showing
10 changed files
with
275 additions
and
103 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
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 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
Empty file.
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,62 @@ | ||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry] | ||
name = "colormap" | ||
version = "1.1.0" | ||
description = "Commn utilities to ease development of Python packages" | ||
authors = ["Thomas Cokelaer <[email protected]>"] | ||
license = "BSD-3-Clause" | ||
readme = "README.rst" | ||
keywords = ["config", "decorators", "development"] | ||
|
||
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.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Scientific/Engineering :: Bio-Informatics", | ||
"Topic :: Scientific/Engineering :: Information Analysis", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://colormap/dev.readthedocs.io" | ||
Repository = "https://github.com/cokelaer/colormap" | ||
Issues = "https://github.com/cokelaer/colormap/issues" | ||
Documentation = "https://colormap.readthedocs.io" | ||
|
||
|
||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
matplotlib = "^3.8.4" | ||
|
||
|
||
|
||
[tool.poetry.group.dev.dependencies] | ||
pytest = "^7.4.4" | ||
pytest-cov = "^4.1.0" | ||
pytest-xdist = "^3.5.0" | ||
pytest-mock = "^3.12.0" | ||
pytest-runner = "^6.0.1" | ||
coveralls = "^3.3.1" | ||
flaky = "^3.7.0" | ||
|
||
|
||
[tool.poetry.group.doc.dependencies] | ||
sphinx = ">3" | ||
sphinx-rtd-theme = "^2.0.0" | ||
sphinx-gallery = "^0.15.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.