forked from cfpb/regulations-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
73 lines (68 loc) · 1.85 KB
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
OUTPUT_DIR = ''
API_BASE = ''
META = {}
# All current, US CFR titles
CFR_TITLES = [
None,
"General Provisions",
"Grants and Agreements",
"The President",
"Accounts",
"Administrative Personnel",
"Domestic Security",
"Agriculture",
"Aliens and Nationality",
"Animals and Animal Products",
"Energy",
"Federal Elections",
"Banks and Banking",
"Business Credit and Assistance",
"Aeronautics and Space",
"Commerce and Foreign Trade",
"Commercial Practices",
"Commodity and Securities Exchanges",
"Conservation of Power and Water Resources",
"Customs Duties",
"Employees' Benefits",
"Food and Drugs",
"Foreign Relations",
"Highways",
"Housing and Urban Development",
"Indians",
"Internal Revenue",
"Alcohol, Tobacco Products and Firearms",
"Judicial Administration",
"Labor",
"Mineral Resources",
"Money and Finance: Treasury",
"National Defense",
"Navigation and Navigable Waters",
"Education",
"Panama Canal [Reserved]",
"Parks, Forests, and Public Property",
"Patents, Trademarks, and Copyrights",
"Pensions, Bonuses, and Veterans' Relief",
"Postal Service",
"Protection of Environment",
"Public Contracts and Property Management",
"Public Health",
"Public Lands: Interior",
"Emergency Management and Assistance",
"Public Welfare",
"Shipping",
"Telecommunication",
"Federal Acquisition Regulations System",
"Transportation",
"Wildlife and Fisheries",
]
DEFAULT_IMAGE_URL = (
'https://s3.amazonaws.com/images.federalregister.gov/' +
'%s/original.gif')
# ImageId -> New URL (without placeholder)
IMAGE_OVERRIDES = {}
# list of strings: phrases which shouldn't be broken by definition links
IGNORE_DEFINITIONS_IN = []
try:
from local_settings import *
except ImportError:
pass