From c6e18327e0567c1f0c2c0b411c871484b6769a76 Mon Sep 17 00:00:00 2001 From: Victor Calvert Date: Mon, 8 Aug 2022 10:05:53 -0400 Subject: [PATCH] Merged 1.0.1 --- flake8p/hook.py | 1 - flake8p/util.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/flake8p/hook.py b/flake8p/hook.py index f2ddef0..8658b2d 100644 --- a/flake8p/hook.py +++ b/flake8p/hook.py @@ -2,7 +2,6 @@ import flake8.main.cli import flake8.options.config -import sys from pathlib import Path from .util import load_flake8_from_toml, find_and_load_toml_file, normalize_from_toml diff --git a/flake8p/util.py b/flake8p/util.py index 281c08f..6e5f22f 100644 --- a/flake8p/util.py +++ b/flake8p/util.py @@ -1,6 +1,7 @@ from typing import Tuple, Any, Dict, List, Optional from pathlib import Path import configparser +import sys if sys.version_info >= (3, 11): import tomllib as toml