Skip to content

Commit 215cea8

Browse files
authored
Map scrapy-fieldstats settings (#107)
1 parent 179cf71 commit 215cea8

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

scrapy_lint/data/settings.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,6 +1065,28 @@
10651065
# scrapy-feedexporter-google-sheets plugin settings, in order of appearance
10661066
# in https://github.com/scrapy-plugins/scrapy-feedexporter-google-sheets
10671067
"GOOGLE_CREDENTIALS": Setting(package="scrapy-feedexporter-google-sheets"),
1068+
# scrapy-fieldstats plugin settings, in order of appearance in
1069+
# https://github.com/stummjr/scrapy-fieldstats
1070+
"FIELDSTATS_ENABLED": Setting(
1071+
package="scrapy-fieldstats",
1072+
type=SettingType.BOOL,
1073+
default_value=VersionedValue(False),
1074+
),
1075+
"FIELDSTATS_COUNTS_ONLY": Setting(
1076+
package="scrapy-fieldstats",
1077+
type=SettingType.BOOL,
1078+
default_value=VersionedValue(False),
1079+
),
1080+
"FIELDSTATS_SKIP_NONE": Setting(
1081+
package="scrapy-fieldstats",
1082+
type=SettingType.BOOL,
1083+
default_value=VersionedValue(False),
1084+
),
1085+
"FIELDSTATS_ADD_TO_STATS": Setting(
1086+
package="scrapy-fieldstats",
1087+
type=SettingType.BOOL,
1088+
default_value=VersionedValue(False),
1089+
),
10681090
# hcf-backend plugin settings, in order of appearance in
10691091
# https://github.com/scrapinghub/hcf-backend/blob/master/hcf_backend/backend.py
10701092
"HCF_CONSUMER_MAX_REQUESTS": Setting(package="hcf-backend"),

0 commit comments

Comments
 (0)