Skip to content

Commit

Permalink
Fixed consistency of linters and formatters
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgeb committed Jul 3, 2020
1 parent 2cf86ba commit 2caf2d5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[build-system]
requires = ["setuptools>=40.8.0", "wheel", "cmake", "pybind11", "matplotlib"]
requires = ["setuptools>=40.8.0", "wheel", "cmake", "pybind11", "matplotlib"]

[tool.black]
line-length = 88
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ versionfile_build = psvWave/_version.py
tag_prefix =
parentdir_prefix =

[flake8]
max-line-length = 88
ignore= E203#,E231,E203,E266,W503
select = B,C,E,F,W,T4,B9
max-complexity = 18
15 changes: 10 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def finalize_options(self):

def run(self):
os.system(
"rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info ./psvWave/*.so "
"__pycache__/"
"rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info ./psvWave/*.so ./*.so "
"__pycache__/ .pytest_cache/ psvWave/__pycache__/"
)


Expand Down Expand Up @@ -150,15 +150,20 @@ def build_extension(self, ext):
install_requires=["numpy", "cmake", "pybind11", "matplotlib"],
extras_require={
"dev": [
# Runtime
"numpy",
"matplotlib",
# Build
"cmake",
"pybind11",
"matplotlib",
"black",
# Test
"pytest",
# Development
"setuptools",
"matplotlib",
"black",
"flake8",
"versioneer",
# Documentation
"sphinx",
"sphinx_rtd_theme",
"breathe",
Expand Down

0 comments on commit 2caf2d5

Please sign in to comment.