Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0f641b1

Browse files
committed
Merge branch 'feature/pylama' into develop
2 parents4c426b9 +a004206 commit0f641b1

File tree

1,115 files changed

+91438
-24715
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,115 files changed

+91438
-24715
lines changed

‎Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ pylama:
5050
rm -rf$(PYLAMA)
5151
make$(PYLAMA)
5252
make$(PYLAMA)/lint/pylama_pylint
53+
@pip install --upgrade --force-reinstall --target=$(LIBS) pydocstyle
54+
@pip install --upgrade --force-reinstall --target=$(LIBS) pycodestyle
55+
@pip install --upgrade --force-reinstall --target=$(LIBS) pyflakes
56+
@pip install --upgrade --force-reinstall --target=$(LIBS) mccabe
57+
@find$(LIBS)/*.dist-info| xargs rm -rf
5358

5459
.PHONY: rope
5560
rope:

‎pylama.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[pylama]
2+
ignore=D213
23
linters=pep8,pyflakes,pylint
34

45
[pylama:pymode/libs*]

‎pymode/libs/_markerlib/__init__.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

‎pymode/libs/_markerlib/markers.py

Lines changed: 0 additions & 119 deletions
This file was deleted.

‎pymode/libs/astroid/__init__.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,15 @@
5858

5959
# more stuff available
6060
fromastroidimportraw_building
61-
fromastroid.basesimportYES,Instance,BoundMethod,UnboundMethod
61+
fromastroid.basesimportInstance,BoundMethod,UnboundMethod
6262
fromastroid.node_classesimportare_exclusive,unpack_infer
6363
fromastroid.scoped_nodesimportbuiltin_lookup
64+
fromastroid.builderimportparse
65+
fromastroid.utilimportYES
6466

6567
# make a manager instance (borg) as well as Project and Package classes
6668
# accessible from astroid package
67-
fromastroid.managerimportAstroidManager,Project
69+
fromastroid.managerimportAstroidManager
6870
MANAGER=AstroidManager()
6971
delAstroidManager
7072

@@ -100,7 +102,7 @@ def inference_tip(infer_function):
100102
101103
.. sourcecode:: python
102104
103-
MANAGER.register_transform(CallFunc, inference_tip(infer_named_tuple),
105+
MANAGER.register_transform(Call, inference_tip(infer_named_tuple),
104106
predicate)
105107
"""
106108
deftransform(node,infer_function=infer_function):
@@ -112,8 +114,11 @@ def transform(node, infer_function=infer_function):
112114
defregister_module_extender(manager,module_name,get_extension_mod):
113115
deftransform(node):
114116
extension_module=get_extension_mod()
115-
forname,objinextension_module.locals.items():
116-
node.locals[name]=obj
117+
forname,objsinextension_module._locals.items():
118+
node._locals[name]=objs
119+
forobjinobjs:
120+
ifobj.parentisextension_module:
121+
obj.parent=node
117122

118123
manager.register_transform(Module,transform,lambdan:n.name==module_name)
119124

‎pymode/libs/astroid/__pkginfo__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@
2020

2121
modname='astroid'
2222

23-
numversion= (1,3,8)
23+
numversion= (1,4,9)
2424
version='.'.join([str(num)fornuminnumversion])
2525

26-
install_requires= ['logilab-common>=0.63.0','six']
26+
install_requires= ['six','lazy_object_proxy','wrapt']
2727

2828
license='LGPL'
2929

30-
author='Logilab'
31-
author_email='pylint-dev@lists.logilab.org'
30+
author='Python Code Quality Authority'
31+
author_email='code-quality@python.org'
3232
mailinglist="mailto://%s"%author_email
33-
web='http://bitbucket.org/logilab/astroid'
33+
web='https://github.com/PyCQA/astroid'
3434

3535
description="A abstract syntax tree for Python with inference support."
3636

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp