Skip to content

Commit

Permalink
Suppress flake8 warning, re: line length
Browse files Browse the repository at this point in the history
  • Loading branch information
SimmonsRitchie committed Dec 21, 2023
1 parent 8417c4a commit d3c4032
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion city_scrapers/spiders/il_commerce.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class IlCommerceSpider(CityScrapersSpider):
timezone = "America/Chicago"
start_urls = [
# Returns a page with 32 days of meetings from today's date, including today.
"https://www.icc.illinois.gov/meetings?dts=32&scm=True&sps=True&sh=True&sjc=True&ssh=False&smceb=True"
"https://www.icc.illinois.gov/meetings?dts=32&scm=True&sps=True&sh=True&sjc=True&ssh=False&smceb=True" # noqa
]

def parse(self, response):
Expand Down
10 changes: 5 additions & 5 deletions tests/test_il_commerce.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

test_response = file_response(
join(dirname(__file__), "files", "il_commerce.html"),
url="https://www.icc.illinois.gov/meetings?dts=32&scm=True&sps=True&sh=True&sjc=True&ssh=False&smceb=True",
url="https://www.icc.illinois.gov/meetings?dts=32&scm=True&sps=True&sh=True&sjc=True&ssh=False&smceb=True", # noqa
)
test_detail_response = file_response(
join(dirname(__file__), "files", "il_commerce_detail.html"),
Expand Down Expand Up @@ -77,19 +77,19 @@ def test_source():
def test_links():
assert parsed_item["links"] == [
{
"href": "https://www.icc.illinois.gov/efiling/agenda/public/coverletter?agid=21912",
"href": "https://www.icc.illinois.gov/efiling/agenda/public/coverletter?agid=21912", # noqa
"title": "Public Utility Cover Letter",
},
{
"href": "https://www.icc.illinois.gov/efiling/agenda/public/agendareport?agid=21912",
"href": "https://www.icc.illinois.gov/efiling/agenda/public/agendareport?agid=21912", # noqa
"title": "Regular Open Meeting Agenda",
},
{
"href": "https://www.icc.illinois.gov/efiling/agenda/public/coverletter?agid=21938",
"href": "https://www.icc.illinois.gov/efiling/agenda/public/coverletter?agid=21938", # noqa
"title": "Transportation Cover Letter",
},
{
"href": "https://www.icc.illinois.gov/efiling/agenda/public/agendareport?agid=21938",
"href": "https://www.icc.illinois.gov/efiling/agenda/public/agendareport?agid=21938", # noqa
"title": "Bench Agenda",
},
]
Expand Down

0 comments on commit d3c4032

Please sign in to comment.