Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
Corrige ordem dos imports
Browse files Browse the repository at this point in the history
  • Loading branch information
anapaulagomes committed Dec 23, 2019
1 parent 39a26b5 commit d98817c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
7 changes: 3 additions & 4 deletions scraper/scraper/pipelines.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from scraper.settings import FILES_STORE, KEEP_FILES
import hashlib
import os

import hashlib
from scraper.settings import FILES_STORE, KEEP_FILES
from scrapy.pipelines.files import FilesPipeline
from scrapy.utils.python import to_bytes
from six.moves.urllib.parse import urlparse

from scrapy.pipelines.files import FilesPipeline
from tika import parser


Expand Down
1 change: 1 addition & 0 deletions scraper/scraper/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os

from .items import (
CityCouncilAgendaItem,
CityHallBidItem,
Expand Down
2 changes: 1 addition & 1 deletion scraper/scraper/spiders/citycouncil.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from datetime import datetime
from scraper.items import CityCouncilAgendaItem

import scrapy
from scraper.items import CityCouncilAgendaItem


class AgendaSpider(scrapy.Spider):
Expand Down
5 changes: 3 additions & 2 deletions scraper/scraper/spiders/cityhall.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from datetime import datetime, date, timedelta
import re
from datetime import date, datetime, timedelta

from scraper.items import CityHallBidItem, CityHallContractItem
import scrapy
from scraper.items import CityHallBidItem, CityHallContractItem

from .utils import identify_contract_id


Expand Down
4 changes: 3 additions & 1 deletion scraper/scraper/spiders/gazette.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
from datetime import datetime

import scrapy
from scrapy import Request
from scraper.items import GazetteEventItem, LegacyGazetteItem
from scrapy import Request

from .utils import replace_query_param


Expand Down
2 changes: 1 addition & 1 deletion scraper/scraper/validators.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from schematics.models import Model
from schematics.types import (
DateType,
DateTimeType,
DateType,
DictType,
IntType,
ListType,
Expand Down

0 comments on commit d98817c

Please sign in to comment.