-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e62e7a
commit 54e2cf7
Showing
3 changed files
with
6 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "scrapy-influxdb-exporter" | ||
version = "1.1.1" | ||
version = "1.1.2" | ||
authors = [{ "name" = "Stefano Fusai", "email" = "[email protected]" }] | ||
description = "A simple package to export Scrapy spider stats to InfluxDB" | ||
readme = "README.md" | ||
|
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 |
---|---|---|
@@ -1,10 +1,5 @@ | ||
class SettingMissingError(Exception): | ||
class MissingSettingError(Exception): | ||
"""Raised when a required setting is missing.""" | ||
|
||
def __init__(self, setting: str) -> None: | ||
"""Construct an instance of the SettingMissingError class. | ||
:param setting: The name of the missing setting. | ||
:type setting: str | ||
""" | ||
def __init__(self, setting: str) -> None: # noqa: D107 | ||
super().__init__(f"{setting} setting is missing") |
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