Skip to content

Commit aa8bc6f

Browse files
committed
Add our project specific changelog config
1 parent 9dd44ff commit aa8bc6f

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ logs
137137

138138
# Configuration
139139
*config.toml
140-
!scripts/news/default_config.toml
140+
!scripts/news/config.toml
141141

142142
# Custom docker compose override
143143
docker-compose.override.yml
File renamed without changes.

scripts/news/utils.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,7 @@ def get_project_meta() -> Tuple[str, str]:
136136

137137
def load_toml_config() -> Dict[str, Any]:
138138
config_path = Path(Path.cwd(), "scripts/news/config.toml")
139-
default_config_url = "URL HERE PLEASE"
140139

141-
if not config_path.exists():
142-
err(
143-
f"Configuration not found. Create a config file at '{config_path}', and see "
144-
f"'{default_config_url}' for an example configuration. "
145-
)
146-
sys.exit(1)
147140
try:
148141
with open(config_path, mode="r") as file:
149142
toml_dict = tomli.loads(file.read())

0 commit comments

Comments
 (0)