{"action":"created","issue":{"url":"https://api.github.com/repos/chrisspen/django-admin-steroids/issues/48","repository_url":"https://api.github.com/repos/chrisspen/django-admin-steroids","labels_url":"https://api.github.com/repos/chrisspen/django-admin-steroids/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/chrisspen/django-admin-steroids/issues/48/comments","events_url":"https://api.github.com/repos/chrisspen/django-admin-steroids/issues/48/events","html_url":"https://github.com/chrisspen/django-admin-steroids/pull/48","id":323368344,"number":48,"title":"Update pylint to 1.9.0","user":{"login":"pyup-bot","id":16239342,"avatar_url":"https://avatars0.githubusercontent.com/u/16239342?v=4","gravatar_id":"","url":"https://api.github.com/users/pyup-bot","html_url":"https://github.com/pyup-bot","followers_url":"https://api.github.com/users/pyup-bot/followers","following_url":"https://api.github.com/users/pyup-bot/following{/other_user}","gists_url":"https://api.github.com/users/pyup-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pyup-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyup-bot/subscriptions","organizations_url":"https://api.github.com/users/pyup-bot/orgs","repos_url":"https://api.github.com/users/pyup-bot/repos","events_url":"https://api.github.com/users/pyup-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pyup-bot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-15T20:20:25Z","updated_at":"2018-05-16T19:50:30Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/chrisspen/django-admin-steroids/pulls/48","html_url":"https://github.com/chrisspen/django-admin-steroids/pull/48","diff_url":"https://github.com/chrisspen/django-admin-steroids/pull/48.diff","patch_url":"https://github.com/chrisspen/django-admin-steroids/pull/48.patch"},"body":"\nThis PR updates [pylint](https://pypi.org/project/pylint) from **1.7.4** to **1.9.0**.\n\n\n\n<details>\n  <summary>Changelog</summary>\n  \n  \n   ### 1.9\n   ```\n   =========================\n\nRelease date: 2018-05-15\n\n    * Added two new Python 3 porting checks, `exception-escape` and `comprehension-escape`\n\n      These two are emitted whenever pylint detects that a variable defined in the\n      said blocks is used outside of the given block. On Python 3 these values are deleted.\n\n    * Added a new `deprecated-sys-function`, emitted when accessing removed sys members.\n\n    * Added `xreadlines-attribute`, emitted when the `xreadlines()` attribute is accessed.\n\n    * The Python 3 porting mode can now run with Python 3 as well.\n\n    * docparams extension allows abstract methods to document what overriding\n      implementations should return, and to raise NotImplementedError without\n      documenting it.\n\n      Closes 2044\n\n    * Special methods do not count towards `too-few-methods`,\n      and are considered part of the public API.\n\n    * Enum classes do not trigger `too-few-methods`\n\n      Close 605\n\n    * `undefined-loop-variable` takes in consideration non-empty iterred objects before emitting\n\n      Close 2039\n\n    * Add support for nupmydoc optional return value names.\n\n      Close 2030\n\n    * `singleton-comparison` accounts for negative checks\n\n      Close 2037\n\n    * Add a check `consider-using-in` for comparisons of a variable against\n      multiple values with &quot;==&quot; and &quot;or&quot;s instead of checking if the variable\n      is contained &quot;in&quot; a tuple of those values.\n\n      Close 1977\n\n    * defaultdict and subclasses of dict are now handled for dict-iter-* checks\n\n      Close 2005\n\n    * Added a new Python 2/3 check for accessing `operator.div`, which is removed in Python 3\n\n      Close 1936\n\n    * Added a new Python 2/3 check for accessing removed urllib functions\n\n      Close 1997\n\n    * `logging-format-interpolation` also emits when f-strings are used instead of % syntax.\n\n      Close 1788\n\n    * Don&#39;t trigger misplaced-bare-raise when the raise is in a finally clause\n\n      Close 1924\n\n    * Add a new check, `possibly-unused-variable`.\n\n      This is similar to `unused-variable`, the only difference is that it is\n      emitted when we detect a locals() call in the scope of the unused variable.\n      The `locals()` call could potentially use the said variable, by consuming\n      all values that are present up to the point of the call. This new check\n      allows to disable this error when the user intentionally uses `locals()`\n      to consume everything.\n\n      Close 1909.\n\n    * `no-else-return` accounts for multiple cases\n\n       The check was a bit overrestrictive because we were checking for\n       return nodes in the .orelse node. At that point though the if statement\n       can be refactored to not have the orelse. This improves the detection of\n       other cases, for instance it now detects TryExcept nodes that are part of\n       the .else branch.\n\n       Close 1852\n\n    * Added two new checks, `invalid-envvar-value` and `invalid-envvar-default`.\n\n      The former is trigger whenever pylint detects that environment variable manipulation\n      functions uses a different type than strings, while the latter is emitted whenever\n      the said functions are using a default variable of different type than expected.\n\n    * Add a check `consider-using-join` for concatenation of strings using str.join(sequence)\n\n      Close 1952\n\n    * Add a check `consider-swap-variables` for swapping variables with tuple unpacking\n\n      Close 1922\n\n    * Add new checker `try-except-raise` that warns the user if an except handler block\n      has a ``raise`` statement as its first operator. The warning is shown when there is\n      a bare raise statement, effectively re-raising the exception that was caught or the\n      type of the exception being raised is the same as the one being handled.\n\n    * Don&#39;t crash on invalid strings when checking for `logging-format-interpolation`\n\n      Close 1944\n\n    * Exempt `__doc__` from triggering a `redefined-builtin`\n\n      `__doc__` can be used to specify a docstring for a module without\n      passing it as a first-statement string.\n\n    * Fix false positive bad-whitespace from function arguments with default\n      values and annotations\n\n      Close 1831\n\n    * Fix stop-iteration-return false positive when next builtin has a\n      default value in a generator\n\n      Close 1830\n\n    * Fix emission of false positive ``no-member`` message for class with  &quot;private&quot; attributes whose name is mangled.\n\n      Close 1643\n\n    * Fixed a crash which occurred when `Uninferable` wasn&#39;t properly handled in `stop-iteration-return`\n\n      Close 1779\n\n    * Use the proper node to get the name for redefined functions (1792)\n\n      Close 1774\n\n    * Don&#39;t crash when encountering bare raises while checking inconsistent returns\n\n      Close 1773\n\n    * Fix a false positive ``inconsistent-return-statements`` message when if statement is inside try/except.\n\n      Close 1770\n\n    * Fix a false positive ``inconsistent-return-statements`` message when while loop are used.\n\n      Close 1772\n\n    * Correct column number for whitespace conventions.\n\n      Previously the column was stuck at 0\n\n      Close 1649\n\n    * Fix ``unused-argument`` false positives with overshadowed variable in\n      dictionary comprehension.\n\n      Close 1731\n\n    * Fix false positive ``inconsistent-return-statements`` message when never\n      returning functions are used (i.e sys.exit for example).\n\n      Close 1771\n\n    * Fix error when checking if function is exception, as in ``bad-exception-context``.\n\n    * Fix false positive ``inconsistent-return-statements`` message when a\n      function is defined under an if statement.\n\n      Close 1794\n\n    * New ``useless-return`` message when function or method ends with a &quot;return&quot; or\n      &quot;return None&quot; statement and this is the only return statement in the body.\n\n    * Fix false positive ``inconsistent-return-statements`` message by\n      avoiding useless exception inference if the exception is not handled.\n\n      Close 1794 (second part)\n\n    * Fix bad thread instantiation check when target function is provided in args.\n\n      Close 1840\n\n    * Fixed false positive when a numpy Attributes section follows a Parameters\n      section\n\n      Close 1867\n\n    * Fix incorrect file path when file absolute path contains multiple ``path_strip_prefix`` strings.\n\n      Close 1120\n\n    * Fix false positive undefined-variable for lambda argument in\n        class definitions\n\n      Close 1824\n\n    * Add of a new checker that warns the user if some messages are enabled or disabled\n      by id instead of symbol.\n\n      Close 1599\n\n    * Suppress false-positive ``not-callable`` messages from certain\n      staticmethod descriptors\n\n      Close 1699\n\n    * Fix indentation handling with tabs\n\n      Close 1148\n\n    * Fix false-positive ``bad-continuation`` error\n\n      Close 638\n\n    * Updated the default report format to include paths that can be clicked on in some terminals (e.g. iTerm).\n   ```\n   \n  \n  \n   ### 1.8.1\n   ```\n   =========================\n\nRelease date: 2017-12-15\n\n    * Wrong version number in __pkginfo__.\n   ```\n   \n  \n  \n   ### 1.8\n   ```\n   =========================\n\nRelease date: 2017-12-15\n\n    * Respect disable=... in config file when running with --py3k.\n\n    * New warning `shallow-copy-environ` added\n\n      Shallow copy of os.environ doesn&#39;t work as people may expect. os.environ\n      is not a dict object but rather a proxy object, so any changes made\n      on copy may have unexpected effects on os.environ\n\n      Instead of copy.copy(os.environ) method os.environ.copy() should be\n      used.\n\n      See https://bugs.python.org/issue15373 for details.\n\n      Close 1301\n\n    * Do not display no-absolute-import warning multiple times per file.\n\n    * `trailing-comma-tuple` refactor check now extends to assignment with\n       more than one element (such as lists)\n\n      Close 1713\n\n    * Fixing u&#39;&#39; string in superfluous-parens message\n\n      Close 1420\n\n    * `abstract-class-instantiated` is now emitted for all inference paths.\n\n       Close 1673\n\n    * Add set of predefined naming style to ease configuration of checking\n      naming conventions.\n\n      Closes 1013\n\n    * Added a new check, ``keyword-arg-before-vararg``\n\n      This is emitted for function definitions\n      in which keyword arguments are placed before variable\n      positional arguments (*args).\n\n      This may lead to args list getting modified if keyword argument&#39;s value\n      is not provided in the function call assuming it will take default value\n      provided in the definition.\n\n    * The `invalid-name` check contains the name of the template that caused the failure\n\n      Close 1176\n\n    * Using the -j flag won&#39;t start more child linters than needed.\n\n      Contributed by Roman Ivanov in 1614\n\n    * Fix a false positive with bad-python3-import on relative imports\n\n      Close 1608\n\n    * Added a new Python 3 check, ``non-ascii-bytes-literals``\n\n      Close 1545\n\n    * Added a couple of new Python 3 checks for accessing dict methods in non-iterable context\n\n    * Protocol checks (not-a-mapping, not-an-iterable and co.) aren&#39;t emitted on classes with dynamic getattr\n\n    * Added a new warning, &#39;bad-thread-instantiation&#39;\n\n      This message is emitted when the threading.Thread class does not\n      receive the target argument, but receives just one argument, which\n      is by default the group parameter.\n\n      Close 1327\n\n    * In non-quiet mode, absolute path of used config file is logged to\n      standard error.\n      Close 1519\n\n    * Raise meaningful exception for invalid reporter class being selected\n\n      When unknown reporter class will be selected as Pylint reporter,\n      meaningful error message would be raised instead of bare ``ImportError``\n      or ``AttribueError`` related to module or reporter class being not found.\n      Close 1388\n\n    * Added a new Python 3 check for accessing removed functions from itertools\n      like ``izip`` or ``ifilterfalse``\n\n    * Added a new Python 3 check for accessing removed fields from the types\n      module like ``UnicodeType`` or ``XRangeType``\n\n    * Added a new Python 3 check for declaring a method ``next`` that would have\n      been treated as an iterator in Python 2 but a normal function in Python 3.\n\n    * Added a new key-value pair in json output. The key is ``message-id``\n      and the value is the message id.\n      Close 1512\n\n    * Added a new Python 3.0 check for raising a StopIteration inside a generator.\n      The check about raising a StopIteration inside a generator is also valid if the exception\n      raised inherit from StopIteration.\n      Close 1385\n\n    * Added a new warning, ``raising-format-tuple``, to detect multi-argument\n      exception construction instead of message string formatting.\n\n    * Added a new check for method of logging module that concatenate string via + operator\n      Close 1479\n\n    * Added parameter for limiting number of suggestions in spellchecking checkers\n\n    * Fix a corner-case in ``consider-using-ternary`` checker.\n\n      When object ``A`` used in  ``X and A or B`` was falsy in boolean context,\n      Pylint incorrectly emitted non-equivalent ternary-based suggestion.\n      After a change message is correctly not emitted for this case.\n      Close 1559\n\n    * Added ``suggestion-mode`` configuration flag. When flag is enabled, informational\n      message is emitted instead of cryptic error message for attributes accessed on\n      c-extensions.\n      Close 1466\n\n    * Fix a false positive ``useless-super-delegation`` message when\n      parameters default values are different from those used in the base class.\n      Close 1085\n\n    * Disabling &#39;wrong-import-order&#39;, &#39;wrong-import-position&#39;, or\n      &#39;ungrouped-imports&#39; for a single line now prevents that line from\n      triggering violations on subsequent lines.\n\n      Close 1336\n\n    * Added a new Python check for inconsistent return statements inside method or function.\n      Close 1267\n\n    * Fix ``superfluous-parens`` false positive related to handling logical statements\n      involving ``in`` operator.\n\n      Close 574\n\n    * ``function-redefined`` message is no longer emitted for functions and\n      methods which names matches dummy variable name regular expression.\n      Close 1369\n\n    * Fix ``missing-param-doc`` and ``missing-type-doc`` false positives when\n      mixing ``Args`` and ``Keyword Args`` in Google docstring.\n      Close 1409\n\n     * Fix ``missing-docstring`` false negatives when modules, classes, or methods\n     consist of compound statements that exceed the ``docstring-min-length``\n\n    * Fix ``useless-else-on-loop`` false positives when break statements are\n      deeply nested inside loop.\n      Close 1661\n\n    * Fix no ``wrong-import-order`` message emitted on ordering of first and third party\n      libraries. With this fix, pylint distinguishes third and first party\n      modules when checking import order.\n      Close 1702\n\n    * Fix ``pylint disable=fixme`` directives ignored for comments following the\n      last statement in a file.\n      Close 1681\n\n    * Fix ``line-too-long`` message deactivated by wrong disable directive.\n      The directive ``disable=fixme`` doesn&#39;t deactivate anymore the emission\n      of ``line-too-long`` message for long commented lines.\n      Close 1741\n\n    * If the rcfile specified on the command line doesn&#39;t exist, then an\n      IOError exception is raised.\n      Close 1747\n\n    * Fix the wrong scope of the ``disable=`` directive after a commented line.\n      For example when a ``disable=line-too-long`` directive is at the end of\n      a long commented line, it no longer disables the emission of ``line-too-long``\n      message for lines that follow.\n      Close 1742\n   ```\n   \n  \n</details>\n\n\n \n\n<details>\n  <summary>Links</summary>\n  \n  - PyPI: https://pypi.org/project/pylint\n  - Changelog: https://pyup.io/changelogs/pylint/\n  - Repo: https://github.com/PyCQA/pylint\n</details>\n\n"},"comment":{"url":"https://api.github.com/repos/chrisspen/django-admin-steroids/issues/comments/389644046","html_url":"https://github.com/chrisspen/django-admin-steroids/pull/48#issuecomment-389644046","issue_url":"https://api.github.com/repos/chrisspen/django-admin-steroids/issues/48","id":389644046,"user":{"login":"pyup-bot","id":16239342,"avatar_url":"https://avatars0.githubusercontent.com/u/16239342?v=4","gravatar_id":"","url":"https://api.github.com/users/pyup-bot","html_url":"https://github.com/pyup-bot","followers_url":"https://api.github.com/users/pyup-bot/followers","following_url":"https://api.github.com/users/pyup-bot/following{/other_user}","gists_url":"https://api.github.com/users/pyup-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pyup-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyup-bot/subscriptions","organizations_url":"https://api.github.com/users/pyup-bot/orgs","repos_url":"https://api.github.com/users/pyup-bot/repos","events_url":"https://api.github.com/users/pyup-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pyup-bot/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T19:50:30Z","updated_at":"2018-05-16T19:50:30Z","author_association":"CONTRIBUTOR","body":"Closing this in favor of #49"}}
{"actor":{"display_login":"pyup-bot"}}