Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1940 4 Spaces added #1994

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

#1940 4 Spaces added #1994

wants to merge 2 commits into from

Conversation

Raman1121
Copy link

For short term contributors: we understand that getting your commits well
defined like we require is a hard task and takes some learning. If you
look to help without wanting to contribute long term there's no need
for you to learn this. Just drop us a message and we'll take care of brushing
up your stuff for merge!

Checklist

  • I read the commit guidelines and I've followed
    them.
  • I ran coala over my code locally. (All commits have to pass
    individually.
    It is not sufficient to have "fixup commits" on your PR,
    our bot will still report the issues for the previous commit.) You will
    likely receive a lot of bot comments and build failures if coala does not
    pass on every single commit!

After you submit your pull request, DO NOT click the 'Update Branch' button.
When asked for a rebase, consult coala.io/rebase
instead.

Please consider helping us by reviewing other peoples pull requests as well:

The more you review, the more your score will grow at coala.io and we will
review your PRs faster!

Number of spaces per indentation level.
:param expand_one_liners:
When set ``True`` this will expand one liner
docstrings.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs'

PycodestyleBear (E101), severity NORMAL, section autopep8.

:param indent_size:
Number of spaces per indentation level.
:param expand_one_liners:
When set ``True`` this will expand one liner
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W191 indentation contains tabs'

PycodestyleBear (W191), severity NORMAL, section autopep8.

:param indent_size:
Number of spaces per indentation level.
:param expand_one_liners:
When set ``True`` this will expand one liner
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs'

PycodestyleBear (E101), severity NORMAL, section autopep8.

functions to start with params.
:param indent_size:
Number of spaces per indentation level.
:param expand_one_liners:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W291 trailing whitespace'

PycodestyleBear (W291), severity NORMAL, section autopep8.

functions to start with params.
:param indent_size:
Number of spaces per indentation level.
:param expand_one_liners:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs'

PycodestyleBear (E101), severity NORMAL, section autopep8.

functions with missing descriptions, allowing
functions to start with params.
:param indent_size:
Number of spaces per indentation level.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W191 indentation contains tabs'

PycodestyleBear (W191), severity NORMAL, section autopep8.

functions with missing descriptions, allowing
functions to start with params.
:param indent_size:
Number of spaces per indentation level.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs'

PycodestyleBear (E101), severity NORMAL, section autopep8.

When set ``True`` this will allow
functions with missing descriptions, allowing
functions to start with params.
:param indent_size:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W291 trailing whitespace'

PycodestyleBear (W291), severity NORMAL, section autopep8.

not every language is supported by a certain docstyle.
:param allow_missing_func_desc:
When set ``True`` this will allow
functions with missing descriptions, allowing
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs'

PycodestyleBear (E101), severity NORMAL, section autopep8.

``doxygen``. Docstyles are language dependent, meaning
not every language is supported by a certain docstyle.
:param allow_missing_func_desc:
When set ``True`` this will allow
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W191 indentation contains tabs'

PycodestyleBear (W191), severity NORMAL, section autopep8.

``doxygen``. Docstyles are language dependent, meaning
not every language is supported by a certain docstyle.
:param allow_missing_func_desc:
When set ``True`` this will allow
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs'

PycodestyleBear (E101), severity NORMAL, section autopep8.

The docstyle to use. For example ``default`` or
``doxygen``. Docstyles are language dependent, meaning
not every language is supported by a certain docstyle.
:param allow_missing_func_desc:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W291 trailing whitespace'

PycodestyleBear (W291), severity NORMAL, section autopep8.

The programming language of the file(s).
:param docstyle:
The docstyle to use. For example ``default`` or
``doxygen``. Docstyles are language dependent, meaning
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs'

PycodestyleBear (E101), severity NORMAL, section autopep8.

:param language:
The programming language of the file(s).
:param docstyle:
The docstyle to use. For example ``default`` or
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W191 indentation contains tabs'

PycodestyleBear (W191), severity NORMAL, section autopep8.

:param language:
The programming language of the file(s).
:param docstyle:
The docstyle to use. For example ``default`` or
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs'

PycodestyleBear (E101), severity NORMAL, section autopep8.

docstrings.
:param language:
The programming language of the file(s).
:param docstyle:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W291 trailing whitespace'

PycodestyleBear (W291), severity NORMAL, section autopep8.

docstrings.
:param language:
The programming language of the file(s).
:param docstyle:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs'

PycodestyleBear (E101), severity NORMAL, section autopep8.

:param expand_one_liners: When set ``True`` this will expand one liner
docstrings.
:param language:
The programming language of the file(s).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W191 indentation contains tabs'

PycodestyleBear (W191), severity NORMAL, section autopep8.

:param expand_one_liners: When set ``True`` this will expand one liner
docstrings.
:param language:
The programming language of the file(s).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs'

PycodestyleBear (E101), severity NORMAL, section autopep8.

:param indent_size: Number of spaces per indentation level.
:param expand_one_liners: When set ``True`` this will expand one liner
docstrings.
:param language:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W291 trailing whitespace'

PycodestyleBear (W291), severity NORMAL, section autopep8.

functions with missing descriptions, allowing
functions to start with params.
:param indent_size:
Number of spaces per indentation level.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code does not comply to PEP8.

PEP8Bear, severity NORMAL, section autopep8.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -122,9 +122,9 @@
             functions with missing descriptions, allowing
             functions to start with params.
         :param indent_size: 
-	    Number of spaces per indentation level.
+            Number of spaces per indentation level.
         :param expand_one_liners: 
-	    When set ``True`` this will expand one liner
+            When set ``True`` this will expand one liner
             docstrings.
         """
 

``doxygen``. Docstyles are language dependent, meaning
not every language is supported by a certain docstyle.
:param allow_missing_func_desc:
When set ``True`` this will allow
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code does not comply to PEP8.

PEP8Bear, severity NORMAL, section autopep8.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -118,7 +118,7 @@
             ``doxygen``. Docstyles are language dependent, meaning
             not every language is supported by a certain docstyle.
         :param allow_missing_func_desc: 
-	    When set ``True`` this will allow
+            When set ``True`` this will allow
             functions with missing descriptions, allowing
             functions to start with params.
         :param indent_size: 

:param expand_one_liners: When set ``True`` this will expand one liner
docstrings.
:param language:
The programming language of the file(s).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code does not comply to PEP8.

PEP8Bear, severity NORMAL, section autopep8.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -112,9 +112,9 @@
                 following lines are also 4 space indented
 
         :param language: 
-	    The programming language of the file(s).
+            The programming language of the file(s).
         :param docstyle: 
-	    The docstyle to use. For example ``default`` or
+            The docstyle to use. For example ``default`` or
             ``doxygen``. Docstyles are language dependent, meaning
             not every language is supported by a certain docstyle.
         :param allow_missing_func_desc: 

:param indent_size:
Number of spaces per indentation level.
:param expand_one_liners:
When set ``True`` this will expand one liner
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Tabs used instead of spaces.

SpaceConsistencyBear, severity NORMAL, section python.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -124,7 +124,7 @@
         :param indent_size: 
 	    Number of spaces per indentation level.
         :param expand_one_liners: 
-	    When set ``True`` this will expand one liner
+        When set ``True`` this will expand one liner
             docstrings.
         """
 

functions to start with params.
:param indent_size:
Number of spaces per indentation level.
:param expand_one_liners:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

SpaceConsistencyBear, severity NORMAL, section python.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -123,7 +123,7 @@
             functions to start with params.
         :param indent_size: 
 	    Number of spaces per indentation level.
-        :param expand_one_liners: 
+        :param expand_one_liners:
 	    When set ``True`` this will expand one liner
             docstrings.
         """

functions with missing descriptions, allowing
functions to start with params.
:param indent_size:
Number of spaces per indentation level.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Tabs used instead of spaces.

SpaceConsistencyBear, severity NORMAL, section python.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -122,7 +122,7 @@
             functions with missing descriptions, allowing
             functions to start with params.
         :param indent_size: 
-	    Number of spaces per indentation level.
+        Number of spaces per indentation level.
         :param expand_one_liners: 
 	    When set ``True`` this will expand one liner
             docstrings.

When set ``True`` this will allow
functions with missing descriptions, allowing
functions to start with params.
:param indent_size:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

SpaceConsistencyBear, severity NORMAL, section python.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -121,7 +121,7 @@
 	    When set ``True`` this will allow
             functions with missing descriptions, allowing
             functions to start with params.
-        :param indent_size: 
+        :param indent_size:
 	    Number of spaces per indentation level.
         :param expand_one_liners: 
 	    When set ``True`` this will expand one liner

The docstyle to use. For example ``default`` or
``doxygen``. Docstyles are language dependent, meaning
not every language is supported by a certain docstyle.
:param allow_missing_func_desc:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W291 trailing whitespace'

PycodestyleBear (W291), severity NORMAL, section autopep8.

The programming language of the file(s).
:param docstyle:
The docstyle to use. For example ``default`` or
``doxygen``. Docstyles are language dependent, meaning
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs'

PycodestyleBear (E101), severity NORMAL, section autopep8.

:param language:
The programming language of the file(s).
:param docstyle:
The docstyle to use. For example ``default`` or
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W191 indentation contains tabs'

PycodestyleBear (W191), severity NORMAL, section autopep8.

:param language:
The programming language of the file(s).
:param docstyle:
The docstyle to use. For example ``default`` or
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs'

PycodestyleBear (E101), severity NORMAL, section autopep8.

docstrings.
:param language:
The programming language of the file(s).
:param docstyle:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W291 trailing whitespace'

PycodestyleBear (W291), severity NORMAL, section autopep8.

docstrings.
:param language:
The programming language of the file(s).
:param docstyle:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs'

PycodestyleBear (E101), severity NORMAL, section autopep8.

:param expand_one_liners: When set ``True`` this will expand one liner
docstrings.
:param language:
The programming language of the file(s).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W191 indentation contains tabs'

PycodestyleBear (W191), severity NORMAL, section autopep8.

:param expand_one_liners: When set ``True`` this will expand one liner
docstrings.
:param language:
The programming language of the file(s).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E101 indentation contains mixed spaces and tabs'

PycodestyleBear (E101), severity NORMAL, section autopep8.

:param indent_size: Number of spaces per indentation level.
:param expand_one_liners: When set ``True`` this will expand one liner
docstrings.
:param language:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W291 trailing whitespace'

PycodestyleBear (W291), severity NORMAL, section autopep8.

functions with missing descriptions, allowing
functions to start with params.
:param indent_size:
Number of spaces per indentation level.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code does not comply to PEP8.

PEP8Bear, severity NORMAL, section autopep8.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -122,9 +122,9 @@
             functions with missing descriptions, allowing
             functions to start with params.
         :param indent_size: 
-	    Number of spaces per indentation level.
+            Number of spaces per indentation level.
         :param expand_one_liners: 
-	    When set ``True`` this will expand one liner
+            When set ``True`` this will expand one liner
             docstrings.
         """
 

``doxygen``. Docstyles are language dependent, meaning
not every language is supported by a certain docstyle.
:param allow_missing_func_desc:
When set ``True`` this will allow
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code does not comply to PEP8.

PEP8Bear, severity NORMAL, section autopep8.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -118,7 +118,7 @@
             ``doxygen``. Docstyles are language dependent, meaning
             not every language is supported by a certain docstyle.
         :param allow_missing_func_desc: 
-	    When set ``True`` this will allow
+            When set ``True`` this will allow
             functions with missing descriptions, allowing
             functions to start with params.
         :param indent_size: 

:param expand_one_liners: When set ``True`` this will expand one liner
docstrings.
:param language:
The programming language of the file(s).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code does not comply to PEP8.

PEP8Bear, severity NORMAL, section autopep8.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -112,9 +112,9 @@
                 following lines are also 4 space indented
 
         :param language: 
-	    The programming language of the file(s).
+            The programming language of the file(s).
         :param docstyle: 
-	    The docstyle to use. For example ``default`` or
+            The docstyle to use. For example ``default`` or
             ``doxygen``. Docstyles are language dependent, meaning
             not every language is supported by a certain docstyle.
         :param allow_missing_func_desc: 

:param indent_size:
Number of spaces per indentation level.
:param expand_one_liners:
When set ``True`` this will expand one liner
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Tabs used instead of spaces.

SpaceConsistencyBear, severity NORMAL, section python.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -124,7 +124,7 @@
         :param indent_size: 
 	    Number of spaces per indentation level.
         :param expand_one_liners: 
-	    When set ``True`` this will expand one liner
+        When set ``True`` this will expand one liner
             docstrings.
         """
 

functions to start with params.
:param indent_size:
Number of spaces per indentation level.
:param expand_one_liners:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

SpaceConsistencyBear, severity NORMAL, section python.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -123,7 +123,7 @@
             functions to start with params.
         :param indent_size: 
 	    Number of spaces per indentation level.
-        :param expand_one_liners: 
+        :param expand_one_liners:
 	    When set ``True`` this will expand one liner
             docstrings.
         """

functions with missing descriptions, allowing
functions to start with params.
:param indent_size:
Number of spaces per indentation level.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Tabs used instead of spaces.

SpaceConsistencyBear, severity NORMAL, section python.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -122,7 +122,7 @@
             functions with missing descriptions, allowing
             functions to start with params.
         :param indent_size: 
-	    Number of spaces per indentation level.
+        Number of spaces per indentation level.
         :param expand_one_liners: 
 	    When set ``True`` this will expand one liner
             docstrings.

When set ``True`` this will allow
functions with missing descriptions, allowing
functions to start with params.
:param indent_size:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

SpaceConsistencyBear, severity NORMAL, section python.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -121,7 +121,7 @@
 	    When set ``True`` this will allow
             functions with missing descriptions, allowing
             functions to start with params.
-        :param indent_size: 
+        :param indent_size:
 	    Number of spaces per indentation level.
         :param expand_one_liners: 
 	    When set ``True`` this will expand one liner

``doxygen``. Docstyles are language dependent, meaning
not every language is supported by a certain docstyle.
:param allow_missing_func_desc:
When set ``True`` this will allow
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Tabs used instead of spaces.

SpaceConsistencyBear, severity NORMAL, section python.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -118,7 +118,7 @@
             ``doxygen``. Docstyles are language dependent, meaning
             not every language is supported by a certain docstyle.
         :param allow_missing_func_desc: 
-	    When set ``True`` this will allow
+        When set ``True`` this will allow
             functions with missing descriptions, allowing
             functions to start with params.
         :param indent_size: 

The docstyle to use. For example ``default`` or
``doxygen``. Docstyles are language dependent, meaning
not every language is supported by a certain docstyle.
:param allow_missing_func_desc:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

SpaceConsistencyBear, severity NORMAL, section python.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -117,7 +117,7 @@
 	    The docstyle to use. For example ``default`` or
             ``doxygen``. Docstyles are language dependent, meaning
             not every language is supported by a certain docstyle.
-        :param allow_missing_func_desc: 
+        :param allow_missing_func_desc:
 	    When set ``True`` this will allow
             functions with missing descriptions, allowing
             functions to start with params.

:param language:
The programming language of the file(s).
:param docstyle:
The docstyle to use. For example ``default`` or
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Tabs used instead of spaces.

SpaceConsistencyBear, severity NORMAL, section python.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -114,7 +114,7 @@
         :param language: 
 	    The programming language of the file(s).
         :param docstyle: 
-	    The docstyle to use. For example ``default`` or
+        The docstyle to use. For example ``default`` or
             ``doxygen``. Docstyles are language dependent, meaning
             not every language is supported by a certain docstyle.
         :param allow_missing_func_desc: 

docstrings.
:param language:
The programming language of the file(s).
:param docstyle:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

SpaceConsistencyBear, severity NORMAL, section python.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -113,7 +113,7 @@
 
         :param language: 
 	    The programming language of the file(s).
-        :param docstyle: 
+        :param docstyle:
 	    The docstyle to use. For example ``default`` or
             ``doxygen``. Docstyles are language dependent, meaning
             not every language is supported by a certain docstyle.

:param expand_one_liners: When set ``True`` this will expand one liner
docstrings.
:param language:
The programming language of the file(s).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Tabs used instead of spaces.

SpaceConsistencyBear, severity NORMAL, section python.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -112,7 +112,7 @@
                 following lines are also 4 space indented
 
         :param language: 
-	    The programming language of the file(s).
+        The programming language of the file(s).
         :param docstyle: 
 	    The docstyle to use. For example ``default`` or
             ``doxygen``. Docstyles are language dependent, meaning

:param indent_size: Number of spaces per indentation level.
:param expand_one_liners: When set ``True`` this will expand one liner
docstrings.
:param language:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line contains following spacing inconsistencies:

  • Trailing whitespaces.

SpaceConsistencyBear, severity NORMAL, section python.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -111,7 +111,7 @@
                 also 4 space indent
                 following lines are also 4 space indented
 
-        :param language: 
+        :param language:
 	    The programming language of the file(s).
         :param docstyle: 
 	    The docstyle to use. For example ``default`` or

@@ -1,4 +1,4 @@
from coalib.bearlib.languages.documentation.DocumentationComment import (
from coalib.bearlib.languages.documentation.DocumentationComment import (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E113 unexpected indentation'

PycodestyleBear (E113), severity NORMAL, section autopep8.

@@ -1,4 +1,4 @@
from coalib.bearlib.languages.documentation.DocumentationComment import (
from coalib.bearlib.languages.documentation.DocumentationComment import (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E111 indentation is not a multiple of four'

PycodestyleBear (E111), severity NORMAL, section autopep8.

@@ -1,4 +1,4 @@
from coalib.bearlib.languages.documentation.DocumentationComment import (
from coalib.bearlib.languages.documentation.DocumentationComment import (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code does not comply to PEP8.

PEP8Bear, severity NORMAL, section autopep8.

The issue can be fixed by applying the following patch:

--- a/bears/documentation/DocumentationStyleBear.py
+++ b/bears/documentation/DocumentationStyleBear.py
@@ -1,5 +1,5 @@
- from coalib.bearlib.languages.documentation.DocumentationComment import (
-    DocumentationComment)
+    from coalib.bearlib.languages.documentation.DocumentationComment import (
+       DocumentationComment)
 from coalib.bearlib.languages.documentation.DocstyleDefinition import (
     DocstyleDefinition)
 from coalib.bearlib.languages.documentation.DocBaseClass import (

Copy link
Member

@prnvdixit prnvdixit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Raman1121

  1. Are you not working on this issue anymore? (Since you have deleted the corresponding branch) 😉.... If you aren't, please un-assign yourself from the issue 👍
  2. I think you haven't assigned yourself to the issue before starting working on that... If you are still interested in working on this issue, assign yourself the issue first. 😄 👍

Copy link
Member

@utkarsh2102 utkarsh2102 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good number of things need to be fixed.
If you're not working anymore, please let us know.
Else, please make the changes as required.
Follow the reviews by the bot and fix them at the earliest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

6 participants