Skip to content

Commit

Permalink
Update docstring length
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmartradio committed Jul 19, 2023
1 parent 109c741 commit eb20560
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions python/lsst/alert/packet/updateSchema.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ def write_schema(schema, schema_name, version, path, update_version=False):
if update_version is True:

version = version.split('.')
schema['namespace'] = schema['namespace'][0:-1] + str(int(version[1]) + 1)
schema['namespace'] = schema['namespace'][0:-1] + \
str(int(version[1]) + 1)

Check failure on line 57 in python/lsst/alert/packet/updateSchema.py

View workflow job for this annotation

GitHub Actions / call-workflow / lint

E127

continuation line over-indented for visual indent
updated_schema_loc = path[0:-1] + str(int(version[1]) + 1)
updated_schema_name = schema['namespace'] + '.' + schema['name'] + '.avsc'
updated_schema_name = schema['namespace'] + '.' \
+ schema['name'] + '.avsc'

Check failure on line 60 in python/lsst/alert/packet/updateSchema.py

View workflow job for this annotation

GitHub Actions / call-workflow / lint

E127

continuation line over-indented for visual indent

if not os.path.exists(updated_schema_loc):
os.mkdir(updated_schema_loc)
Expand Down Expand Up @@ -89,7 +91,8 @@ def update_schema(apdb_filepath, update_version=False):
Parameters
----------
apdb_filepath: `string`
Input string for the apdb.yaml file where the docstrings will be compared.
Input string for the apdb.yaml file where the docstrings
will be compared.
update_version: 'bool'
If True, version will be updated minor version one number.
Expand Down

0 comments on commit eb20560

Please sign in to comment.