forked from detly/gammatone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
971204a
commit 70217dd
Showing
12 changed files
with
69 additions
and
25 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
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
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,40 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools", | ||
"wheel", | ||
] | ||
|
||
[tool.ruff] | ||
target-version = "py38" | ||
line-length = 120 | ||
|
||
#[tool.ruff.format] | ||
#preview = true | ||
|
||
[tool.ruff.lint] | ||
select = [ | ||
"E", | ||
"W", # see: https://pypi.org/project/pycodestyle | ||
"F", # see: https://pypi.org/project/pyflakes | ||
"I", #see: https://pypi.org/project/isort/ | ||
# "D", # see: https://pypi.org/project/pydocstyle | ||
# "N", # see: https://pypi.org/project/pep8-naming | ||
# "S", # see: https://pypi.org/project/flake8-bandit | ||
# "UP", # see: https://docs.astral.sh/ruff/rules/#pyupgrade-up | ||
] | ||
ignore = [ | ||
"E731", # Do not assign a lambda expression, use a def | ||
] | ||
ignore-init-module-imports = true | ||
unfixable = ["F401"] | ||
|
||
[tool.ruff.lint.pydocstyle] | ||
# Use Google-style docstrings. | ||
convention = "google" | ||
|
||
#[tool.ruff.pycodestyle] | ||
#ignore-overlong-task-comments = true | ||
|
||
[tool.ruff.lint.mccabe] | ||
# Unlike Flake8, default to a complexity level of 10. | ||
max-complexity = 10 |
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 |
---|---|---|
|
@@ -4,12 +4,12 @@ | |
# BSD license: https://github.com/detly/gammatone/blob/master/COPYING | ||
import os | ||
|
||
from setuptools import setup, find_packages | ||
from setuptools import find_packages, setup | ||
|
||
_PATH_ROOT = os.path.dirname(__file__) | ||
|
||
with open(os.path.join(_PATH_ROOT, "README.md"), encoding="utf-8") as fo: | ||
readme = fo.read() | ||
README = fo.read() | ||
|
||
setup( | ||
name="Gammatone", | ||
|
@@ -18,7 +18,8 @@ | |
author_email="[email protected]", | ||
url="https://github.com/Lightning-Sandbox/gammatone", | ||
download_url="https://github.com/Lightning-Sandbox/gammatone/archive/master.zip", | ||
long_description=readme, | ||
long_description=README, | ||
python_requires=">=3.8", | ||
long_description_content_type="text/markdown", | ||
packages=find_packages(exclude=["tests"]), | ||
install_requires=["numpy", "scipy", "matplotlib"], | ||
|
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
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