mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Revert "PY-16078 Default right margin is 99 characters according to updated PEP-8"
This reverts commit 2175deac00.
This commit is contained in:
@@ -141,7 +141,6 @@ public class PyLanguageCodeStyleSettingsProvider extends LanguageCodeStyleSettin
|
||||
defaultSettings.ALIGN_MULTILINE_PARAMETERS_IN_CALLS = true;
|
||||
defaultSettings.KEEP_BLANK_LINES_IN_DECLARATIONS = 1;
|
||||
defaultSettings.KEEP_BLANK_LINES_IN_CODE = 1;
|
||||
defaultSettings.RIGHT_MARGIN = 99;
|
||||
return defaultSettings;
|
||||
}
|
||||
|
||||
|
||||
@@ -3,6 +3,5 @@ class A:
|
||||
pass
|
||||
|
||||
class B(A):
|
||||
def __init__(self, d: str, a: int, b: float, *args: tuple, e: bytes, c: complex,
|
||||
**kwargs: dict) -> list:
|
||||
def __init__(self, d: str, a: int, b: float, *args: tuple, e: bytes, c: complex, **kwargs: dict) -> list:
|
||||
super().__init__(a, b, *args, c=c, **kwargs)
|
||||
@@ -5,8 +5,7 @@ class ArgsTest:
|
||||
comment:str=None, version:int=None): pass
|
||||
|
||||
class Sub(ArgsTest):
|
||||
def __init__(self, key: str=None, value: str=None, max_age=None, expires=None, path: str=None,
|
||||
domain: str=None, secure: bool=False, httponly: bool=False,
|
||||
sync_expires: bool=True, comment: str=None, version: int=None):
|
||||
super().__init__(key, value, max_age, expires, path, domain, secure, httponly,
|
||||
sync_expires, comment, version)
|
||||
def __init__(self, key: str=None, value: str=None, max_age=None, expires=None, path: str=None, domain: str=None,
|
||||
secure: bool=False, httponly: bool=False, sync_expires: bool=True, comment: str=None,
|
||||
version: int=None):
|
||||
super().__init__(key, value, max_age, expires, path, domain, secure, httponly, sync_expires, comment, version)
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
a = '/import/' + urllib.quote(projectId) + '/issues?' + urllib.urlencode(
|
||||
{'assigneeGroup': assigneeGroup})
|
||||
a = '/import/' + urllib.quote(projectId) + '/issues?' + urllib.urlencode({'assigneeGroup': assigneeGroup})
|
||||
response = self._reqXml('PUT', a,
|
||||
xml, 400).toxml().encode('utf-8')
|
||||
Reference in New Issue
Block a user