From 4fab735609b7524d1fac4c84a33010535d725fa0 Mon Sep 17 00:00:00 2001 From: Robert Gieseke Date: Wed, 12 Jan 2022 18:28:05 +0100 Subject: [PATCH] Sort things out --- scripts/plot_example.py | 1 + scripts/write_defaults.py | 4 +--- setup.cfg | 1 - setup.py | 3 ++- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/plot_example.py b/scripts/plot_example.py index bb95579..15985b0 100644 --- a/scripts/plot_example.py +++ b/scripts/plot_example.py @@ -1,6 +1,7 @@ import os import matplotlib.pyplot as plt + plt.style.use("ggplot") plt.rcParams["figure.figsize"] = 10, 5 plt.rcParams["font.family"] = "serif" diff --git a/scripts/write_defaults.py b/scripts/write_defaults.py index e7fe772..8a6cfa4 100755 --- a/scripts/write_defaults.py +++ b/scripts/write_defaults.py @@ -9,11 +9,9 @@ import ast import configparser import os - -import pandas as pd - from pprint import pformat +import pandas as pd # Default config from `ini`-file default_config = os.path.join(os.path.dirname(__file__), diff --git a/setup.cfg b/setup.cfg index 2c1df47..b43ac84 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,7 +18,6 @@ known_first_party = pyhector line_length = 88 # multiline breaks like black: multi_line_output = 3 -not_skip = __init__.py skip = versioneer.py, pyhector/_version.py [tool:pytest] diff --git a/setup.py b/setup.py index 89a694f..f37b4fc 100644 --- a/setup.py +++ b/setup.py @@ -17,10 +17,11 @@ import os import sys -import versioneer from setuptools import Extension, setup from setuptools.command.test import test as TestCommand +import versioneer + path = os.path.abspath(os.path.dirname(__file__))