Skip to content

Commit e0e7aca

Browse files
committed
Use new dict2css library for parts of files/docs.py
1 parent 9cff5a8 commit e0e7aca

26 files changed

+329
-185
lines changed

repo_helper/files/docs.py

Lines changed: 88 additions & 160 deletions
Large diffs are not rendered by default.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ attrs>=20.2.0
33
click==7.1.2
44
configconfig>=0.4.0
55
consolekit>=0.8.0
6-
css-parser==1.0.6
6+
dict2css>=0.1.0
77
domdf-python-tools>=2.0.1
88
dulwich>=0.19.16
99
email-validator==1.1.2

tests/test_cli/test_show_/test_requirements_3_6_.tree

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,23 @@ repo_helper==2020.12.18
9797
│ ├── mistletoe>=0.7.2
9898
│ ├── typing-extensions>=3.7.4.3
9999
│ └── colorama>=0.4.3; python_version < "3.10"
100-
├── css-parser==1.0.6
100+
├── dict2css>=0.1.0
101+
│ ├── css-parser==1.0.6
102+
│ └── domdf-python-tools>=2.2.0
103+
│ ├── deprecation-alias>=0.1.1
104+
│ │ ├── deprecation>=2.1.0
105+
│ │ │ └── packaging
106+
│ │ │ └── pyparsing>=2.0.2
107+
│ │ └── packaging>=20.4
108+
│ │ └── pyparsing>=2.0.2
109+
│ ├── natsort>=7.1.0
110+
│ ├── pydash>=4.7.4
111+
│ ├── typing-extensions>=3.7.4.3
112+
│ ├── importlib-resources>=3.0.0; python_version < "3.7"
113+
│ │ └── zipp>=0.4; python_version < "3.8"
114+
│ └── importlib-metadata>=1.5.0; python_version < "3.8"
115+
│ ├── zipp>=0.5
116+
│ └── typing-extensions>=3.6.4; python_version < "3.8"
101117
├── domdf-python-tools>=2.0.1
102118
│ ├── deprecation-alias>=0.1.1
103119
│ │ ├── deprecation>=2.1.0

tests/test_cli/test_show_/test_requirements_3_7_.tree

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,21 @@ repo_helper==2020.12.18
9191
│ ├── mistletoe>=0.7.2
9292
│ ├── typing-extensions>=3.7.4.3
9393
│ └── colorama>=0.4.3; python_version < "3.10"
94-
├── css-parser==1.0.6
94+
├── dict2css>=0.1.0
95+
│ ├── css-parser==1.0.6
96+
│ └── domdf-python-tools>=2.2.0
97+
│ ├── deprecation-alias>=0.1.1
98+
│ │ ├── deprecation>=2.1.0
99+
│ │ │ └── packaging
100+
│ │ │ └── pyparsing>=2.0.2
101+
│ │ └── packaging>=20.4
102+
│ │ └── pyparsing>=2.0.2
103+
│ ├── natsort>=7.1.0
104+
│ ├── pydash>=4.7.4
105+
│ ├── typing-extensions>=3.7.4.3
106+
│ └── importlib-metadata>=1.5.0; python_version < "3.8"
107+
│ ├── zipp>=0.5
108+
│ └── typing-extensions>=3.6.4; python_version < "3.8"
95109
├── domdf-python-tools>=2.0.1
96110
│ ├── deprecation-alias>=0.1.1
97111
│ │ ├── deprecation>=2.1.0

tests/test_cli/test_show_/test_requirements_3_8_.tree

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,18 @@ repo_helper==2020.12.18
7979
│ ├── mistletoe>=0.7.2
8080
│ ├── typing-extensions>=3.7.4.3
8181
│ └── colorama>=0.4.3; python_version < "3.10"
82-
├── css-parser==1.0.6
82+
├── dict2css>=0.1.0
83+
│ ├── css-parser==1.0.6
84+
│ └── domdf-python-tools>=2.2.0
85+
│ ├── deprecation-alias>=0.1.1
86+
│ │ ├── deprecation>=2.1.0
87+
│ │ │ └── packaging
88+
│ │ │ └── pyparsing>=2.0.2
89+
│ │ └── packaging>=20.4
90+
│ │ └── pyparsing>=2.0.2
91+
│ ├── natsort>=7.1.0
92+
│ ├── pydash>=4.7.4
93+
│ └── typing-extensions>=3.7.4.3
8394
├── domdf-python-tools>=2.0.1
8495
│ ├── deprecation-alias>=0.1.1
8596
│ │ ├── deprecation>=2.1.0

tests/test_cli/test_show_/test_requirements_3_9__.tree

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,18 @@ repo_helper==2020.12.18
7878
│ ├── mistletoe>=0.7.2
7979
│ ├── typing-extensions>=3.7.4.3
8080
│ └── colorama>=0.4.3; python_version < "3.10"
81-
├── css-parser==1.0.6
81+
├── dict2css>=0.1.0
82+
│ ├── css-parser==1.0.6
83+
│ └── domdf-python-tools>=2.2.0
84+
│ ├── deprecation-alias>=0.1.1
85+
│ │ ├── deprecation>=2.1.0
86+
│ │ │ └── packaging
87+
│ │ │ └── pyparsing>=2.0.2
88+
│ │ └── packaging>=20.4
89+
│ │ └── pyparsing>=2.0.2
90+
│ ├── natsort>=7.1.0
91+
│ ├── pydash>=4.7.4
92+
│ └── typing-extensions>=3.7.4.3
8293
├── domdf-python-tools>=2.0.1
8394
│ ├── deprecation-alias>=0.1.1
8495
│ │ ├── deprecation>=2.1.0

tests/test_cli/test_show_/test_requirements_concise_3_6_.tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ repo_helper==2020.12.18
1414
├── css-parser==1.0.6
1515
├── deprecation>=2.1.0
1616
├── deprecation-alias>=0.1.1
17+
├── dict2css>=0.1.0
1718
├── distlib<1,>=0.3.1
1819
├── dnspython>=1.15.0
19-
├── domdf-python-tools>=2.1.0
20+
├── domdf-python-tools>=2.2.0
2021
├── dulwich!=0.20.7,!=0.20.8,!=0.20.9,>=0.20.5
2122
├── email-validator==1.1.2
2223
├── filelock<4,>=3.0.12

tests/test_cli/test_show_/test_requirements_concise_3_7_.tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ repo_helper==2020.12.18
1414
├── css-parser==1.0.6
1515
├── deprecation>=2.1.0
1616
├── deprecation-alias>=0.1.1
17+
├── dict2css>=0.1.0
1718
├── distlib<1,>=0.3.1
1819
├── dnspython>=1.15.0
19-
├── domdf-python-tools>=2.1.0
20+
├── domdf-python-tools>=2.2.0
2021
├── dulwich!=0.20.7,!=0.20.8,!=0.20.9,>=0.20.5
2122
├── email-validator==1.1.2
2223
├── filelock<4,>=3.0.12

tests/test_cli/test_show_/test_requirements_concise_3_8_.tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ repo_helper==2020.12.18
1414
├── css-parser==1.0.6
1515
├── deprecation>=2.1.0
1616
├── deprecation-alias>=0.1.1
17+
├── dict2css>=0.1.0
1718
├── distlib<1,>=0.3.1
1819
├── dnspython>=1.15.0
19-
├── domdf-python-tools>=2.1.0
20+
├── domdf-python-tools>=2.2.0
2021
├── dulwich!=0.20.7,!=0.20.8,!=0.20.9,>=0.20.5
2122
├── email-validator==1.1.2
2223
├── filelock<4,>=3.0.12

tests/test_cli/test_show_/test_requirements_concise_3_9__.tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ repo_helper==2020.12.18
1414
├── css-parser==1.0.6
1515
├── deprecation>=2.1.0
1616
├── deprecation-alias>=0.1.1
17+
├── dict2css>=0.1.0
1718
├── distlib<1,>=0.3.1
1819
├── dnspython>=1.15.0
19-
├── domdf-python-tools>=2.1.0
20+
├── domdf-python-tools>=2.2.0
2021
├── dulwich!=0.20.7,!=0.20.8,!=0.20.9,>=0.20.5
2122
├── email-validator==1.1.2
2223
├── filelock<4,>=3.0.12

0 commit comments

Comments
 (0)