mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-31 11:10:09 -06:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
216e09664b | ||
|
|
a0813dd3c1 |
@@ -12,7 +12,7 @@ import common.models
|
||||
from InvenTree.api_version import INVENTREE_API_VERSION
|
||||
|
||||
# InvenTree software version
|
||||
INVENTREE_SW_VERSION = "0.7.6"
|
||||
INVENTREE_SW_VERSION = "0.7.7"
|
||||
|
||||
|
||||
def inventreeInstanceName():
|
||||
|
||||
7
tasks.py
7
tasks.py
@@ -94,6 +94,7 @@ def install(c):
|
||||
print("Installing required python packages from 'requirements.txt'")
|
||||
|
||||
# Install required Python packages with PIP
|
||||
c.run('pip3 install --upgrade pip')
|
||||
c.run('pip3 install -U -r requirements.txt')
|
||||
|
||||
|
||||
@@ -554,9 +555,9 @@ def test_translations(c):
|
||||
|
||||
# complie regex
|
||||
reg = re.compile(
|
||||
r"[a-zA-Z0-9]{1}"+ # match any single letter and number
|
||||
r"(?![^{\(\<]*[}\)\>])"+ # that is not inside curly brackets, brackets or a tag
|
||||
r"(?<![^\%][^\(][)][a-z])"+ # that is not a specially formatted variable with singles
|
||||
r"[a-zA-Z0-9]{1}" + # match any single letter and number
|
||||
r"(?![^{\(\<]*[}\)\>])" + # that is not inside curly brackets, brackets or a tag
|
||||
r"(?<![^\%][^\(][)][a-z])" + # that is not a specially formatted variable with singles
|
||||
r"(?![^\\][\n])" # that is not a newline
|
||||
)
|
||||
last_string = ''
|
||||
|
||||
Reference in New Issue
Block a user