Skip to content

Commit 2dbe9f4

Browse files
committed
move CLI stuff out of make_schema_doc to avoid external dependencies in CGI scripts
1 parent 6d38a58 commit 2dbe9f4

10 files changed

+3120
-2964
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/__pycache__
2+
/venv
23
*.rej
34
*.orig
45
.DS_Store

.pylintrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[MESSAGES CONTROL]
2+
disable = invalid-name,missing-function-docstring

make_schema_doc.py

100755100644
Lines changed: 0 additions & 393 deletions
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.black]
22
target-version = ["py310"]
33
skip-string-normalization = true
4-
experimental-string-processing = true
4+
unstable = true
55
color = true

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mysqlclient
2+
black>=21.0 # need 21 for py3.10 compat
3+
argparse
4+
click<8.1 # 8.1 breaks black 21

0 commit comments

Comments
 (0)