<commit_before>import requests
from bs4 import BeautifulSoup

html = requests.request('GET', 'http://loterias.caixa.gov.br/wps/portal/loterias/landing/lotomania/')

bsObj = BeautifulSoup(html.text, 'html.parser')

jogoVicente = ['07', '08', '09', '10', '13', '14', '15', '16', '17', '21', '22', '23', '24', '31', '32', '33',
               '39', '40', '45', '46', '48', '52', '53', '54', '56', '57', '58', '59', '60', '62', '63', '64',
               '66', '67', '72', '74', '75', '76', '77', '83', '84', '85', '86', '87', '91', '92', '93', '94',
               '95', '00']

nums_sorteados = []
resultado = 0
cells = []

table = bsObj.table

divJogo = bsObj.find('div', {'class': 'title-bar clearfix'})

for row in table.findAll('tr'):
    cells.append(row.findAll('td'))

for cell in cells:
    for i in range(len(cell)):
        nums_sorteados.append(str(cell[i])[4:6])

for num in jogoVicente:
    if num in nums_sorteados:
        resultado += 1


concurso = str(divJogo.h2).split()
concurso_num = concurso[4]
concurso_data = str(concurso[5])[1:11]

print(f'Concurso: {concurso_num} de {concurso_data}')
print(f'O jogo do Vicente acertou {resultado} números')<commit_msg>Ajustes de PEP8<commit_after>import requests
from bs4 import BeautifulSoup

html = requests.request('GET', 'http://loterias.caixa.gov.br/wps/portal/loterias/landing/lotomania/')

bsObj = BeautifulSoup(html.text, 'html.parser')

jogoVicente = ['07', '08', '09', '10', '13', '14', '15', '16', '17', '21', '22', '23', '24', '31', '32', '33',
               '39', '40', '45', '46', '48', '52', '53', '54', '56', '57', '58', '59', '60', '62', '63', '64',
               '66', '67', '72', '74', '75', '76', '77', '83', '84', '85', '86', '87', '91', '92', '93', '94',
               '95', '00']

nums_sorteados = []
resultado = 0
cells = []

table = bsObj.table

div = bsObj.find('div', {'class': 'title-bar clearfix'})
concurso = str(div.h2).split()
concurso_num = concurso[4]
concurso_data = str(concurso[5])[1:11]

for row in table.findAll('tr'):
    cells.append(row.findAll('td'))

for cell in cells:
    for i in range(len(cell)):
        nums_sorteados.append(str(cell[i])[4:6])


for num in jogoVicente:
    if num in nums_sorteados:
        resultado += 1

print('=' * 30)
print(f'Concurso: {concurso_num} de {concurso_data}')
print(f'Vicente acertou {resultado} números')
print('=' * 30)

{'fraction_non_alphanumeric': 0.2375316990701606, 'fraction_numerical': 0.09594251901944209, 'mean_word_length': 3.9518828451882846, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7021084', 'n_tokens_mistral': 1102, 'n_tokens_neox': 981, 'n_words': 232}