Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Commit

Permalink
Exlude Sphinx file from flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
garth-wells committed Jul 25, 2016
1 parent 4322765 commit f3aa4b8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 0 additions & 2 deletions FIAT/asci2vtk2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
print("python asci2vtk.py foo")
sys.exit(0)


fin = open(filename, "r")

coords = []
Expand All @@ -48,7 +47,6 @@

print("%s points" % (str(n),))


fout = open(output, "w")
fout.write("""# vtk DataFile Version 2.0
points
Expand Down
2 changes: 0 additions & 2 deletions FIAT/asci2vtk3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
print("python asci2vtk3d.py foo")
sys.exit(0)


fin = open(filename, "r")

coords = []
Expand All @@ -48,7 +47,6 @@

print("%s points" % (str(n),))


fout = open(output, "w")
fout.write("""# vtk DataFile Version 2.0
points
Expand Down
7 changes: 3 additions & 4 deletions FIAT/makelags.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@ def matrix_to_array(mat, mat_name):

if __name__ == '__main__':

lagclass = \
"""class Lagrange%s%d: public FiniteElement {
lagclass = """class Lagrange%s%d: public FiniteElement {
public:
Lagrange%s%d():FiniteElement(%d,%d,%d,%d,%d,%s) {}
virtual ~Lagrange%s%d(){}
Lagrange%s%d():FiniteElement(%d,%d,%d,%d,%d,%s) {}
virtual ~Lagrange%s%d(){}
};"""

T = reference_element.DefaultTriangle()
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[flake8]
ignore = E501,E226,E731
exclude = .git,__pycache__
exclude = .git,__pycache__,doc/sphinx/source/conf.py

0 comments on commit f3aa4b8

Please sign in to comment.