Skip to content

Commit ccca0a5

Browse files
Add a mention of the score change for JSON in the Changelog
This is a fix but I wonder... This looks like the fabled bug that will break countless integration by being fixed. `--score=y` is the default setting, and json is probably a prime candidate for automation. Is it reasonable to fix it and ask everyone to change their option to `-s n`? I'm pretty sure no one read the pylint's changelog.
1 parent c0f38cc commit ccca0a5

File tree

2 files changed

+30
-4
lines changed

2 files changed

+30
-4
lines changed

ChangeLog

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
Pylint's ChangeLog
33
------------------
44

5-
* Add check for empty comments
5+
What's New in Pylint 3.0.0?
6+
===========================
67

7-
* Fix minor documentation issue in contribute.rst
8+
* Fix the score option not being honored when exporting to JSON
89

9-
* Enums are now required to be named in UPPER_CASE by ``invalid-name``.
10+
The default setting was to have a score, but it did not work. Now it will give a score at the end of the json:
1011

11-
Close #3834
12+
Close #3504
1213

1314

1415
What's New in Pylint 2.6.1?
@@ -499,6 +500,7 @@ Release date: 2020-04-27
499500

500501
Close #3361
501502

503+
502504
What's New in Pylint 2.4.4?
503505
===========================
504506
Release date: 2019-11-13

doc/whatsnew/3.0.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
**************************
2+
What's New in Pylint 2.7
3+
**************************
4+
5+
:Release: 3.0
6+
:Date: TODO
7+
8+
9+
Summary -- Release highlights
10+
=============================
11+
12+
13+
New checkers
14+
============
15+
16+
17+
Other Changes
18+
=============
19+
20+
* The score option for JSON export has been fixed
21+
22+
The default setting is to have a score, but it did not work before.
23+
If a score appeared in your json, and you want to go back what you
24+
had before, you must change the score option to "--score=n"

0 commit comments

Comments
 (0)