-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored configuration file updating.
TOML files are parsed, specific values are updated, and re-written to avoid updating the wrong data. It uses a two-way parser, so all formatting and comments are maintained. INI-type configuration files use the old way, since that format is deprecated.
- Loading branch information
Showing
9 changed files
with
341 additions
and
89 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[project] | ||
name = "sample-repo" | ||
version = "0.0.2" | ||
description = "" | ||
authors = [ | ||
{name = "Someone", email = "someone@example.com"}, | ||
] | ||
dependencies = [] | ||
requires-python = ">=3.11" | ||
readme = "README.md" | ||
license = {text = "MIT"} | ||
|
||
[build-system] | ||
requires = ["setuptools>=61", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.pdm.dev-dependencies] | ||
lint = [ | ||
"ruff==0.0.292", # Comments should be saved | ||
] | ||
build = [ | ||
"bump-my-version>=0.12.0", | ||
] | ||
|
||
[tool.bumpversion] | ||
commit = false | ||
tag = false | ||
current_version = "0.0.2" |
Oops, something went wrong.