whitespace

This commit is contained in:
D-T-666
2020-10-19 23:19:11 +04:00
parent 47b9c594fa
commit a9c4249273
3 changed files with 5 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ IGNORE_ERRORS = E501,F401,F403,F405
PKG = mathgenerator
format:
python -m autopep8 --ignore=$(IGNORE_ERRORS) -i $(PKG)/*
python -m autopep8 --ignore=$(IGNORE_ERRORS) -ir $(PKG)/*
lint:
python -m flake8 --ignore=$(IGNORE_ERRORS) $(PKG)

View File

@@ -14,7 +14,7 @@ def angleBtwVectorsFunc(maxEltAmt=20):
solution = ''
try:
solution = str(math.acos(s / mags))
except:
except MathDomainError:
print('angleBtwVectorsFunc has some issues with math module, line 16')
solution = 'NaN'
# would return the answer in radians