Skip to content

Commit ac3646e

Browse files
committed
Add nascent scripting language from old project.
1 parent 0cd1675 commit ac3646e

14 files changed

+791
-16
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ else
3535
endif
3636

3737
flake8:
38-
flake8 --ignore=E231,W503 --exclude=docs
38+
flake8 --ignore=E231,W503 --exclude=docs,textsmith/script/parser.py
3939

4040
mypy:
41-
find . \( -name _build -o -name var -o -path ./docs -o -path ./integration -o -path ./textsmith/mdx \) -type d -prune -o -name '*.py' -print0 | $(XARGS) mypy
41+
find . \( -name _build -o -name var -o -path ./docs -o -path ./integration -o -path ./textsmith/mdx -o -path ./textsmith/script \) -type d -prune -o -name '*.py' -print0 | $(XARGS) mypy
4242

4343
test: clean
4444
pytest --random-order --disable-pytest-warnings

textsmith/constants.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
attributes.
44
55
Copyright (C) 2020 Nicholas H.Tollervey ([email protected]).
6-
"""
7-
"""
6+
87
This program is free software: you can redistribute it and/or modify
98
it under the terms of the GNU Affero General Public License as
109
published by the Free Software Foundation, either version 3 of the

textsmith/datastore.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
stored in Redis Hashes whose values are serialized as strings of JSON.
44
55
Copyright (C) 2020 Nicholas H.Tollervey ([email protected]).
6-
"""
7-
"""
6+
87
This program is free software: you can redistribute it and/or modify
98
it under the terms of the GNU Affero General Public License as
109
published by the Free Software Foundation, either version 3 of the

textsmith/log.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
Configure structured logging.
33
44
Copyright (C) 2020 Nicholas H.Tollervey ([email protected]).
5-
"""
6-
"""
5+
76
This program is free software: you can redistribute it and/or modify
87
it under the terms of the GNU Affero General Public License as
98
published by the Free Software Foundation, either version 3 of the

textsmith/logic.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
Functions that implement application logic.
33
44
Copyright (C) 2020 Nicholas H.Tollervey ([email protected]).
5-
"""
6-
"""
5+
76
This program is free software: you can redistribute it and/or modify
87
it under the terms of the GNU Affero General Public License as
98
published by the Free Software Foundation, either version 3 of the

textsmith/parser.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
changes and read data from the datastore.
44
55
Copyright (C) 2020 Nicholas H.Tollervey ([email protected]).
6-
"""
7-
"""
6+
87
This program is free software: you can redistribute it and/or modify
98
it under the terms of the GNU Affero General Public License as
109
published by the Free Software Foundation, either version 3 of the

textsmith/pubsub.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
The pub/sub message passing methods and handlers needed for TextSmith.
33
44
Copyright (C) 2020 Nicholas H.Tollervey ([email protected]).
5-
"""
6-
"""
5+
76
This program is free software: you can redistribute it and/or modify
87
it under the terms of the GNU Affero General Public License as
98
published by the Free Software Foundation, either version 3 of the

textsmith/script/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.0.1-alpha.1"

0 commit comments

Comments
 (0)