File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ cnes-pylint-extension checks the following rules :
18
18
19
19
cnes-pylint-extension checks the following metrics :
20
20
- R5301 - too-high-complexity (default < 25)
21
- - R5302 - too-high-complexity-simplified (defailt < 20)
21
+ - R5302 - too-high-complexity-simplified (default < 20)
22
22
- R5201 - too-few-comments (default > 20%)
23
23
24
24
# Available versions :
@@ -30,11 +30,16 @@ cnes-pylint-extension checks the following metrics :
30
30
31
31
# To use these checkers:
32
32
33
- ## Install Pylint
33
+ ## Install from PIP
34
+ ` pip install cnes-pylint-extension `
35
+
36
+ ## Install from sources
37
+
38
+ ### Install Pylint
34
39
35
40
` pip install pylint==2.5.0 `
36
41
37
- ## Install CNES Pylint extension checkers
42
+ ### Install CNES Pylint extension checkers
38
43
39
44
Download the project's code source then add the checkers subdirectory to your PYTHONPATH :
40
45
@@ -52,6 +57,8 @@ load-plugins=cnes_checker
52
57
...
53
58
```
54
59
60
+ ## Usage
61
+
55
62
Pylint is now able to use the extension.
56
63
57
64
Otherwise, add ` --load-plugins=cnes_checker ` to your pylint command line in order to activate it.
Original file line number Diff line number Diff line change 7
7
name = "cnes-pylint-extension" ,
8
8
version = "5.0.0" ,
9
9
author = "CNES CatLab" ,
10
- description = "A PyLint plugin that can output to SonarQube-importable JSON " ,
10
+ description = "A PyLint plugin to add coding CNES specific checks " ,
11
11
long_description = long_description ,
12
12
long_description_content_type = "text/markdown" ,
13
13
url = "https://github.com/cnescatlab/cnes-pylint-extension" ,
16
16
license_file = 'LICENSE' ,
17
17
classifiers = [
18
18
"Programming Language :: Python :: 3" ,
19
- "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3 )" ,
19
+ "License :: OSI Approved :: GNU General Public License v3 (GPLv3 )" ,
20
20
"Operating System :: OS Independent" ,
21
21
],
22
22
python_requires = '>=3.6' ,
23
23
install_requires = [
24
24
"pylint-plugin-utils==0.7" ,
25
25
"pylint==2.5.0"
26
26
],
27
+ project_urls = {
28
+ 'Bug Reports' : 'https://github.com/cnescatlab/cnes-pylint-extension/issues'
29
+ }
27
30
)
You can’t perform that action at this time.
0 commit comments