Skip to content

Commit

Permalink
Fixing build issues...
Browse files Browse the repository at this point in the history
  • Loading branch information
calvertvl committed Aug 8, 2022
1 parent fc6c46a commit bde45c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions flake8p/hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import sys
from pathlib import Path

from flake8p.util import load_flake8_from_toml, find_and_load_toml_file, normalize_from_toml
from .util import load_flake8_from_toml, find_and_load_toml_file, normalize_from_toml


# Remember original Flake8 objects.
Expand All @@ -21,7 +21,7 @@ class RawConfigParser(flake8_RawConfigParser):
def _read(self, stream, path):
file = Path(path)
if file.name == 'pyproject.toml':
_, settings = load_flake8_from_toml(file)
settings = load_flake8_from_toml(file)
if not self.has_section('flake8'):
self.add_section('flake8')
settings = normalize_from_toml(settings)
Expand Down
4 changes: 2 additions & 2 deletions flake8p/plugin.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from typing import Any, Dict, List
import configparser

from flake8p.util import monkeypatch

import flake8.options.config

from .util import monkeypatch

class FlakeConfigToml:
def __init__(self, tree):
pass
Expand Down

0 comments on commit bde45c9

Please sign in to comment.