Remove pre-commit from main dependencies and clean up test artifacts

Co-authored-by: mingrammer <6178510+mingrammer@users.noreply.github.com>
pull/1189/head
copilot-swe-agent[bot] 2 weeks ago
parent 576fada7b4
commit f15d8de35e

8
.gitignore vendored

@ -11,6 +11,14 @@ __pycache__/
# graphviz # graphviz
*.gv* *.gv*
# test outputs
diagram-*
diagrams_image
example_*
my_custom_name
test_diagram.py
test_resources_render
# dist # dist
dist dist
website/build website/build

@ -1,8 +0,0 @@
digraph "diagram-c0af1cf" {
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="diagram-c0af1cf" nodesep=0.60 pad=2.0 rankdir=LR ranksep=0.75 splines=ortho]
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagescale=true labelloc=b shape=box style=rounded width=1.4]
edge [color="#7B8894"]
c72b9d95921943db990cc46ba03d5b8b [label=<<font point-size="12"><b>system 1</b></font><br/><font point-size="9">[System]<br/></font>> fillcolor=dodgerblue4 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
b1131c82c8a54cf8a697ae775d37acf0 [label=<<font point-size="12"><b>system 2</b></font><br/><font point-size="9">[System]<br/></font>> fillcolor=dodgerblue4 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
c72b9d95921943db990cc46ba03d5b8b -> b1131c82c8a54cf8a697ae775d37acf0 [color=gray60 constraint=False dir=forward fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 style=dashed]
}

@ -1,9 +0,0 @@
digraph "diagram-e5a94d3" {
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="diagram-e5a94d3" nodesep=0.60 pad=2.0 rankdir=LR ranksep=0.75 splines=ortho]
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagescale=true labelloc=b shape=box style=rounded width=1.4]
edge [color="#7B8894"]
subgraph cluster_System {
graph [bgcolor=white fontname="Sans-Serif" fontsize=12 label=System labeljust=l margin=16 pencolor="#AEB6BE" rankdir=LR shape=box style=dashed]
"592242be7e0145a49ef192066cae1f63" [label=<<font point-size="12"><b>container</b></font><br/><font point-size="9">[Container: type]<br/></font><br/><font point-size="10">description<br/><br/></font>> fillcolor=dodgerblue3 fixedsize=true fontcolor=white height=1.6 labelloc=c shape=rect style=filled width=2.6]
}
}

@ -1,7 +0,0 @@
digraph "diagram-eaf0ab7" {
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="diagram-eaf0ab7" nodesep=0.60 pad=2.0 rankdir=LR ranksep=0.75 splines=ortho]
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagescale=true labelloc=b shape=box style=rounded width=1.4]
edge [color="#7B8894"]
"24468c3baedb4508a9b8e8bade0f3d5e" [label=<<font point-size="12"><b>person</b></font><br/><font point-size="9">[External Person]<br/></font>> fillcolor=gray60 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style="rounded,filled" width=2]
e7c4e1c1e9a84f2483022bb31c4f9208 [label=<<font point-size="12"><b>external</b></font><br/><font point-size="9">[External System]<br/></font>> fillcolor=gray60 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
}

@ -1,7 +0,0 @@
digraph "diagram-ecb3d63" {
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="diagram-ecb3d63" nodesep=0.60 pad=2.0 rankdir=LR ranksep=0.75 splines=ortho]
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagescale=true labelloc=b shape=box style=rounded width=1.4]
edge [color="#7B8894"]
"430f4de0b37c4101abf3eac190ba9268" [label=<<font point-size="12"><b>system</b></font><br/><font point-size="9">[System]<br/></font><br/><font point-size="10">The internal system.<br/><br/></font>> fillcolor=dodgerblue4 fixedsize=true fontcolor=white height=1.6 labelloc=c shape=rect style=filled width=2.6]
"4a0ca384bda048a6853f58f613016af3" [label=<<font point-size="12"><b>unknown</b></font><br/><font point-size="9">[System]<br/></font>> fillcolor=dodgerblue4 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
}

@ -1,8 +0,0 @@
digraph "diagram-efecb5c" {
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="diagram-efecb5c" nodesep=0.60 pad=2.0 rankdir=LR ranksep=0.75 splines=ortho]
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagescale=true labelloc=b shape=box style=rounded width=1.4]
edge [color="#7B8894"]
"9418f8e9a0a44f9f99dcc006c22de220" [label=<<font point-size="12"><b>person</b></font><br/><font point-size="9">[Person]<br/></font><br/><font point-size="10">A person.<br/><br/></font>> fillcolor=dodgerblue4 fixedsize=true fontcolor=white height=1.6 labelloc=c shape=rect style="rounded,filled" width=2.6]
"923b851349c94f0aaa3f1e10a3083a52" [label=<<font point-size="12"><b>container</b></font><br/><font point-size="9">[Container: Java application]<br/></font><br/><font point-size="10">The application.<br/><br/></font>> fillcolor=dodgerblue3 fixedsize=true fontcolor=white height=1.6 labelloc=c shape=rect style=filled width=2.6]
"98bf42f6b090418fb09f6cbcdf8873ce" [label=<<font point-size="12"><b>database</b></font><br/><font point-size="9">[Database: Oracle database]<br/></font><br/><font point-size="10">Stores information.<br/><br/></font>> fillcolor=dodgerblue3 fixedsize=true fontcolor=white height=1.6 labelloc=b shape=cylinder style=filled width=2.6]
}

@ -1,9 +0,0 @@
digraph "diagram-f276bc0" {
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="diagram-f276bc0" nodesep=0.60 pad=2.0 rankdir=LR ranksep=0.75 splines=ortho]
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagescale=true labelloc=b shape=box style=rounded width=1.4]
edge [color="#7B8894"]
d203be521dbd43c8aeb03d4a6b8e5191 [label=<<font point-size="12"><b>container1</b></font><br/><font point-size="9">[Container]<br/></font>> fillcolor=dodgerblue3 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
"387f4dac0f604af3a548a3b973dacf7d" [label=<<font point-size="12"><b>container2</b></font><br/><font point-size="9">[Container]<br/></font>> fillcolor=dodgerblue3 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
d203be521dbd43c8aeb03d4a6b8e5191 -> "387f4dac0f604af3a548a3b973dacf7d" [label=<<font point-size="10">depends on</font>> color=gray60 dir=forward fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 style=dashed]
d203be521dbd43c8aeb03d4a6b8e5191 -> "387f4dac0f604af3a548a3b973dacf7d" [label=<<font point-size="10">is depended on by</font>> color=gray60 dir=back fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 style=dashed]
}

@ -1,8 +0,0 @@
digraph "diagram-f5717ea" {
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="diagram-f5717ea" nodesep=0.60 pad=2.0 rankdir=LR ranksep=0.75 splines=ortho]
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagescale=true labelloc=b shape=box style=rounded width=1.4]
edge [color="#7B8894"]
"880dd86b8a1d4b36ab1c6558f9f58809" [label=<<font point-size="12"><b>container1</b></font><br/><font point-size="9">[Container]<br/></font>> fillcolor=dodgerblue3 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
b64353b35e3d4d01ac8fb8f1f2b6165b [label=<<font point-size="12"><b>container2</b></font><br/><font point-size="9">[Container]<br/></font>> fillcolor=dodgerblue3 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
"880dd86b8a1d4b36ab1c6558f9f58809" -> b64353b35e3d4d01ac8fb8f1f2b6165b [dir=forward fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13]
}

@ -1,6 +0,0 @@
digraph {
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="" nodesep=0.60 pad=2.0 rankdir=LR ranksep=0.75 splines=ortho]
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagescale=true labelloc=b shape=box style=rounded width=1.4]
edge [color="#7B8894"]
be3e7011f7514ee492a580db1dcacc8e [label=node1]
}

@ -1,6 +0,0 @@
digraph "Example 1" {
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="Example 1" nodesep=0.60 pad=2.0 rankdir=LR ranksep=0.75 splines=ortho]
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagescale=true labelloc=b shape=box style=rounded width=1.4]
edge [color="#7B8894"]
"8111bf35d7e14c0cb56fbd84c6e7a187" [label=node1]
}

@ -1,4 +0,0 @@
from diagrams import Diagram
with Diagram(name="Test", show=False):
pass

@ -1,12 +0,0 @@
from diagrams import Diagram
from diagrams.aws.compute import EC2
from diagrams.aws.database import RDS
from diagrams.aws.network import ELB
with Diagram("test_2", show=False, direction="TB"):
ELB("lb") >> [EC2("ワーカー1"),
EC2("작업자 2를"),
EC2("робітник 3"),
EC2("worker4"),
EC2("työntekijä 4")] >> RDS("events")

@ -1,6 +0,0 @@
digraph "Example 1" {
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="Example 1" nodesep=0.60 pad=2.0 rankdir=LR ranksep=0.75 splines=ortho]
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagescale=true labelloc=b shape=box style=rounded width=1.4]
edge [color="#7B8894"]
"4ad261638b564255b7c82ce358aa7811" [label=node1]
}

@ -14,7 +14,6 @@ dependencies = [
"graphviz>=0.13.2,<0.21.0", "graphviz>=0.13.2,<0.21.0",
"jinja2>=2.10,<4.0", "jinja2>=2.10,<4.0",
"typed-ast>=1.5.5,<2 ; python_version<'3.8'", "typed-ast>=1.5.5,<2 ; python_version<'3.8'",
"pre-commit>=4.0.1,<5",
] ]
[project.scripts] [project.scripts]

@ -1,5 +0,0 @@
digraph Test {
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label=Test nodesep=0.60 pad=2.0 rankdir=LR ranksep=0.75 splines=ortho]
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagescale=true labelloc=b shape=box style=rounded width=1.4]
edge [color="#7B8894"]
}

@ -1,4 +0,0 @@
from diagrams import Diagram
with Diagram(name="Test", show=False):
pass

@ -1,7 +0,0 @@
digraph test_resources_render {
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label=test_resources_render nodesep=0.60 pad=2.0 rankdir=LR ranksep=0.75 splines=ortho]
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagescale=true labelloc=b shape=box style=rounded width=1.4]
edge [color="#7B8894"]
e3bddeae331a4c14869f108a92ac3b80 [label="test-ec2" height=1.9 image="/home/runner/work/diagrams/diagrams/resources/aws/compute/ec2.png" shape=none]
"9ec4b6d0627149d28dda2ccb2792fcb3" [label="test-rds" height=1.9 image="/home/runner/work/diagrams/diagrams/resources/aws/database/rds.png" shape=none]
}
Loading…
Cancel
Save