Skip to content

Commit 2a845cf

Browse files
committed
Remove whitespace around brackets
1 parent 6d6afe4 commit 2a845cf

File tree

3 files changed

+36
-36
lines changed
  • lib/node_modules/@stdlib/math/base/special
  • tools/snippets/test/fixtures/python

3 files changed

+36
-36
lines changed

lib/node_modules/@stdlib/math/base/special/cosm1/test/fixtures/python/runner.py

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/node_modules/@stdlib/math/base/special/exp10/test/fixtures/python/runner.py

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/snippets/test/fixtures/python/runner.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99

1010

1111
# Get the file path:
12-
FILE = os.path.realpath( __file__ )
12+
FILE = os.path.realpath(__file__)
1313

1414
# Extract the directory in which this file resides:
15-
DIR = os.path.dirname( file )
15+
DIR = os.path.dirname(file)
1616

1717

18-
def gen( x, name ):
18+
def gen(x, name):
1919
"""Generate fixture data and write to file.
2020
2121
# Arguments
@@ -39,15 +39,15 @@ def gen( x, name ):
3939
}
4040

4141
# Based on the script directory, create an output filepath:
42-
filepath = os.path.join( DIR, name )
42+
filepath = os.path.join(DIR, name)
4343

44-
with open( filepath, 'w' ) as outfile:
45-
json.dump( data, outfile )
44+
with open(filepath, 'w') as outfile:
45+
json.dump(data, outfile)
4646

4747
def main():
4848
"""Generate fixture data."""
49-
gen( x, "TODO" )
49+
gen(x, "TODO")
5050

5151

52-
if __name__=="__main__":
52+
if __name__ == "__main__":
5353
main()

0 commit comments

Comments
 (0)