Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
R-Palazzo committed Feb 28, 2024
1 parent 7d775e5 commit 2e7cfb7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 18 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,17 @@ dependencies = [
[project.entry-points]
sdgym = { main = "sdgym.cli.__main__:main" }


[project.optional-dependencies]

dask = ["dask", "distributed"]

test = [
'pytest>=3.4.2',
'pytest-cov>=2.6.0',
'jupyter>=1.0.0,<2',
'rundoc>=0.4.3,<0.5',
]

dev = [
# dask
"dask",
Expand Down
29 changes: 12 additions & 17 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,29 @@ commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<candidate>\d+))?
serialize =
{major}.{minor}.{patch}.{release}{candidate}
{major}.{minor}.{patch}
{major}.{minor}.{patch}.{release}{candidate}
{major}.{minor}.{patch}

[bumpversion:part:release]
optional_value = release
first_value = dev
values =
dev
release
dev
release

[bumpversion:part:candidate]

[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
search = version='{current_version}'
replace = version='{new_version}'

[bumpversion:file:sdgym/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'

[bdist_wheel]
universal = 1

[aliases]
test = pytest

[flake8]
max-line-length = 99
inline-quotes = single
Expand All @@ -37,9 +36,5 @@ extend-ignore = D105, # Missing docstring in magic method
PD005, # Use arithmetic operator instead of method
SFS3 # String literal formatting using f-string

[isort]
line_length = 99
lines_between_types = 0
multi_line_output = 4
not_skip = __init__.py
use_parentheses = True
[aliases]
test = pytest

0 comments on commit 2e7cfb7

Please sign in to comment.