Skip to content

Change Pylint rules project-wise#3254

Merged
troydai merged 2 commits intoAzure:masterfrom
troydai:updata.style
May 8, 2017
Merged

Change Pylint rules project-wise#3254
troydai merged 2 commits intoAzure:masterfrom
troydai:updata.style

Conversation

@troydai
Copy link
Copy Markdown
Contributor

@troydai troydai commented May 8, 2017

  1. Disable too-many-arguments pylint error. Due to the nature of the
    project many methods' arguments set directly reflects the command
    options. As a result, there is no way to reduce the arguments set size.
    The too-many-arguments disable statement is widely used to the extend
    that essentially the rule doesn't matter anymore. I'll disable the rule
    globally.

  2. Extend the max length to 120 from 100, which is the default pylint
    value. The 120 characters lenght is the default github review page's
    line limitation.


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

  • Each command and parameter has a meaningful description.
  • Each new command has a test.

(see Authoring Command Modules)

troydai added 2 commits May 8, 2017 11:32
1. Disable too-many-arguments pylint error. Due to the nature of the
project many methods' arguments set directly reflects the command
options. As a result, there is no way to reduce the arguments set size.
The too-many-arguments disable statement is widely used to the extend
that essentially the rule doesn't matter anymore. I'll disable the rule
globally.

2. Extend the max length to 120 from 100, which is the default pylint
value. The 120 characters lenght is the default github review page's
line limitation.
@codecov-io
Copy link
Copy Markdown

codecov-io commented May 8, 2017

Codecov Report

Merging #3254 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3254   +/-   ##
=======================================
  Coverage   70.27%   70.27%           
=======================================
  Files         391      391           
  Lines       25068    25068           
  Branches     3811     3811           
=======================================
  Hits        17617    17617           
  Misses       6342     6342           
  Partials     1109     1109
Impacted Files Coverage Δ
...re-cli-cdn/azure/cli/command_modules/cdn/custom.py 87.8% <ø> (ø) ⬆️
...e-cli-vm/azure/cli/command_modules/vm/_vm_utils.py 76% <ø> (ø) ⬆️
...s/azure-cli-interactive/azclishell/color_styles.py 54.05% <ø> (ø) ⬆️
...onitor/azure/cli/command_modules/monitor/custom.py 67.27% <ø> (ø) ⬆️
...e/cli/command_modules/network/_template_builder.py 85.14% <ø> (ø) ⬆️
...-storage/azure/cli/command_modules/storage/blob.py 14.28% <ø> (ø) ⬆️
src/azure-cli-core/azure/cli/core/sdk/util.py 92.59% <ø> (ø) ⬆️
...re-cli-dls/azure/cli/command_modules/dls/custom.py 81.15% <ø> (ø) ⬆️
...re/cli/command_modules/cognitiveservices/custom.py 72% <ø> (ø) ⬆️
src/azure-cli-core/azure/cli/core/commands/arm.py 85.77% <ø> (ø) ⬆️
... and 27 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update efe177d...55588e4. Read the comment docs.

@troydai troydai merged commit f8d4093 into Azure:master May 8, 2017
@troydai troydai deleted the updata.style branch May 8, 2017 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants