Skip to content

Commit

Permalink
Update dev docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Jan 9, 2024
1 parent fecba5e commit 0a335b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "custodian"
version = "2023.10.9"
version = "2024.1.9",
description = "A simple JIT job management framework in Python."
authors = [
{ name = "Shyue Ping Ong", email = "ongsp@ucsd.edu" },
Expand Down Expand Up @@ -63,7 +63,7 @@ include = ["custodian*"]
exclude = ["*.tests", "*.tests.*"]

[tool.ruff]
target-version = "py39"
target-version = "2024.1.9",
line-length = 120
select = [
"B", # flake8-bugbear
Expand Down
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def set_ver(ctx):
file.write("\n".join(lines) + "\n")

with open("pyproject.toml") as file:
lines = [re.sub(r"version = ([^,]+),", f'version = "{NEW_VER}",', line.rstrip()) for line in file]
lines = [re.sub(r"version = \"([^,]+)\"", f'version = "{NEW_VER}",', line.rstrip()) for line in file]

with open("pyproject.toml", "w") as file:
file.write("\n".join(lines) + "\n")
Expand Down

0 comments on commit 0a335b0

Please sign in to comment.