diff --git a/.isort.cfg b/.isort.cfg index 2854f3cc..8112570b 100644 --- a/.isort.cfg +++ b/.isort.cfg @@ -1,5 +1,5 @@ [settings] -line_length = 79 +line_length = 120 multi_line_output = 3 include_trailing_comma = True -known_third_party = graphviz,jinja2 +known_third_party = graphviz,jinja2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 600850e3..21cef885 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,4 +20,4 @@ repos: rev: v2.3.1 hooks: - id: autopep8 - args: [--in-place, --aggressive, --aggressive, --max-line-length=79] + args: [--in-place, --aggressive, --aggressive, --max-line-length=120] diff --git a/tests/test_c4.py b/tests/test_c4.py index ee19b125..f2713811 100644 --- a/tests/test_c4.py +++ b/tests/test_c4.py @@ -4,14 +4,7 @@ import string import unittest from diagrams import Diagram, setcluster, setdiagram -from diagrams.c4 import ( - Container, - Database, - Person, - Relationship, - System, - SystemBoundary, -) +from diagrams.c4 import Container, Database, Person, Relationship, System, SystemBoundary class C4Test(unittest.TestCase): diff --git a/tests/test_diagram.py b/tests/test_diagram.py index 693bf977..0760709e 100644 --- a/tests/test_diagram.py +++ b/tests/test_diagram.py @@ -3,16 +3,7 @@ import pathlib import shutil import unittest -from diagrams import ( - Cluster, - Diagram, - Edge, - Node, - getcluster, - getdiagram, - setcluster, - setdiagram, -) +from diagrams import Cluster, Diagram, Edge, Node, getcluster, getdiagram, setcluster, setdiagram class DiagramTest(unittest.TestCase):