Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • pycqa/pylint
1 result
Show changes
Loading
Loading
@@ -2,6 +2,24 @@
Pylint's ChangeLog
------------------
 
What's New in Pylint 1.7.4?
===========================
* *Nothing*. Released because 1.7.3 contained `.pyc` files and there
is no way to make a new release with the same version.
What's New in Pylint 1.7.3?
===========================
Release date: 2017-09-29
* Log and crash correctly a child process when an error occurs.
Close #1445
* bad-whitespace checking around dotted type hint
Close #1430 and #1679
What's New in Pylint 1.7.2?
===========================
 
Loading
Loading
Loading
Loading
@@ -57,9 +57,10 @@ Pre-release
https://github.com/PyCQA/pylint
 
 
Release by running:
Release by running the following:
$ git clean -fd && find . -name '*.pyc' -delete
$ python setup.py sdist --formats=gztar bdist_wheel
$ twine upload dist/*
$ python setup.py register sdist --formats=gztar bdist_wheel upload
to release a new version to PyPI.
Loading
Loading
@@ -18,7 +18,7 @@ from setuptools import __version__ as setuptools_version
 
modname = distname = 'pylint'
 
numversion = (1, 7, 2)
numversion = (1, 7, 4)
version = '.'.join([str(num) for num in numversion])
 
install_requires = [
Loading
Loading
Loading
Loading
@@ -631,6 +631,8 @@ class FormatChecker(BaseTokenChecker):
elif token[1] == ',':
if not bracket_level:
return False
elif token[1] == '.':
continue
elif token[0] not in (tokenize.NAME, tokenize.STRING):
return False
return False
Loading
Loading
Loading
Loading
@@ -205,8 +205,8 @@ if multiprocessing is not None:
 
# Run linter for received files/modules.
for file_or_module in iter(tasks_queue.get, 'STOP'):
result = self._run_linter(file_or_module[0])
try:
result = self._run_linter(file_or_module[0])
results_queue.put(result)
except Exception as ex:
print("internal error with sending report for module %s" %
Loading
Loading
@@ -795,6 +795,8 @@ class PyLinter(config.OptionsManagerMixIn,
all_stats = []
module = None
for result in self._parallel_task(files_or_modules):
if not result:
continue
(
_,
self.file_state.base_name,
Loading
Loading
Loading
Loading
@@ -217,6 +217,7 @@ class TestCheckSpace(CheckerTestCase):
with self.assertNoMessages():
self.checker.process_tokens(tokenize_str('foo(foo=bar)\n'))
self.checker.process_tokens(tokenize_str('foo(foo: int = bar)\n'))
self.checker.process_tokens(tokenize_str('foo(foo: module.classname = bar)\n'))
self.checker.process_tokens(tokenize_str('foo(foo: Dict[int, str] = bar)\n'))
self.checker.process_tokens(tokenize_str('foo(foo: \'int\' = bar)\n'))
self.checker.process_tokens(tokenize_str('foo(foo: Dict[int, \'str\'] = bar)\n'))
Loading
Loading