Skip to content

Commit 142930b

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 f1dadf1 commit 142930b

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
@@ -13,13 +13,14 @@ Pylint's ChangeLog
1313

1414
Closes #3882
1515

16-
* Add check for empty comments
16+
What's New in Pylint 3.0.0?
17+
===========================
1718

18-
* Fix minor documentation issue in contribute.rst
19+
* Fix the score option not being honored when exporting to JSON
1920

20-
* Enums are now required to be named in UPPER_CASE by ``invalid-name``.
21+
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:
2122

22-
Close #3834
23+
Close #3504
2324

2425
* Add missing checks for deprecated functions.
2526

@@ -549,6 +550,7 @@ Release date: 2020-04-27
549550

550551
Close #3361
551552

553+
552554
What's New in Pylint 2.4.4?
553555
===========================
554556
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)