Skip to content

Commit

Permalink
Fix: Docstrings converted to single-line (#427)
Browse files Browse the repository at this point in the history
* Fix: Docstrings converted to single-line

- Docstrings fits in a single line according to PEP8.
- Reference https://deepsource.io/gh/scanapi/scanapi/issue/FLK-D200/occurrences

Fixes #411

* Fix: doc line need to be <= 80 characters
  • Loading branch information
marcorichetta committed Jul 26, 2021
1 parent 35ef8d9 commit ccfb432
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions scanapi/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
@click.group()
@click.version_option(version=dist.version)
def main():
"""
Automated Testing and Documentation for your REST API.
"""
"""Automated Testing and Documentation for your REST API."""
pass


Expand Down
4 changes: 1 addition & 3 deletions scanapi/config_loader.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
"""
Code based on solution https://gist.github.com/joshbode/569627ced3076931b02f
"""
"""Code Reference https://gist.github.com/joshbode/569627ced3076931b02f"""

import logging
import os
Expand Down
4 changes: 1 addition & 3 deletions scanapi/exit_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@


class ExitCode(enum.IntEnum):
"""
Encodes the valid exit codes by ScanAPI.
"""
"""Encodes the valid exit codes by ScanAPI."""

#: tests passed
OK = 0
Expand Down

0 comments on commit ccfb432

Please sign in to comment.