Skip to content

Commit

Permalink
Set dev version above released version (#8181)
Browse files Browse the repository at this point in the history
* Set dev version above released version
  • Loading branch information
max-sixty authored Sep 14, 2023
1 parent 2a02052 commit 5007e5f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 19 deletions.
32 changes: 14 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ requires = [
]

[tool.setuptools_scm]
fallback_version = "999"
fallback_version = "9999"

[tool.coverage.run]
omit = [
Expand Down Expand Up @@ -64,39 +64,35 @@ module = [
"sparse.*",
"toolz.*",
"zarr.*",
"numpy.exceptions.*", # remove once support for `numpy<2.0` has been dropped
"numpy.exceptions.*", # remove once support for `numpy<2.0` has been dropped
]

[[tool.mypy.overrides]]
ignore_errors = true
module = []

[tool.ruff]
target-version = "py39"
builtins = ["ellipsis"]
exclude = [
".eggs",
"doc",
"_typed_ops.pyi",
".eggs",
"doc",
"_typed_ops.pyi",
]
target-version = "py39"
# E402: module level import not at top of file
# E501: line too long - let black worry about that
# E731: do not assign a lambda expression, use a def
ignore = [
"E402",
"E501",
"E731",
"E402",
"E501",
"E731",
]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I",
# Pyupgrade
"UP",
"F", # Pyflakes
"E", # Pycodestyle
"W", # isort
"I", # Pyupgrade
"UP",
]

[tool.ruff.isort]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
from setuptools import setup

setup(use_scm_version={"fallback_version": "999"})
setup(use_scm_version={"fallback_version": "9999"})

0 comments on commit 5007e5f

Please sign in to comment.