resending this email, since it got a "send mail error".


Here is a patch that fixes many english typos in the pylint 0.18.1 package.

I hope this will be useful for you and not create a regression nightmare...

Dotan Barak
diff -r pylint-0.18.1.orig/ChangeLog pylint-0.18.1/ChangeLog
22c22
<     * avoid some E0203 / E0602 false negatives by detecting respectivly
---
>     * avoid some E0203 / E0602 false negatives by detecting respectively
108c108
<     * fix #2473: invoking pylint on __init__.py (hopefuly)
---
>     * fix #2473: invoking pylint on __init__.py (hopefully)
150c150
<     * new RPython (Restricted Python) checker for PyPy felow or people
---
>     * new RPython (Restricted Python) checker for PyPy fellow or people
155c155
<     * new E0104 and E0105 messages introduced to respectivly warn about
---
>     * new E0104 and E0105 messages introduced to respectively warn about
174c174
<     * --init-hook option to call arbitray code necessary to set
---
>     * --init-hook option to call arbitrary code necessary to set
178c178
<       problem, this'll definitly be the DDrake release :)
---
>       problem, this'll definitely be the DDrake release :)
203c203
<       is actually fixed since the initial false positive is due to dynaming 
setting of
---
>       is actually fixed since the initial false positive is due to dynamic 
> setting of
240c240
<       to have no effect) respectivly when the statement is actually string
---
>       to have no effect) respectively when the statement is actually string
242c242
<       empty  statement generated by a useless semicolumn
---
>       empty  statement generated by a useless semicolon
294c294
<         - E1101, access to unexistant member (implements #10430), remove
---
>         - E1101, access to unexistent member (implements #10430), remove
298,299c298,299
<         - E1111 and W1111 when an assigment is done on a function call but the
<           infered function returns None (implements #10431) 
---
>         - E1111 and W1111 when an assignment is done on a function call but 
> the
>           inferred function returns None (implements #10431) 
309c309
<         - the C0101 check with its min-name-lentgh option has
---
>         - the C0101 check with its min-name-length option has
314c314
<           C0112 respectivly 
---
>           C0112 respectively 
355c355
<     * fixed E0214 ("metaclass method frist argument should be mcs) false
---
>     * fixed E0214 ("metaclass method first argument should be mcs) false
562c562
<     * imports checker may report import dependancies as a dot graph
---
>     * imports checker may report import dependencies as a dot graph
625c625
<     * added an emacs mode using this output, availabe in the distrib's
---
>     * added an emacs mode using this output, available in the distrib's
659c659
<     * provide a simple tk gui, essentially usefull for windows users
---
>     * provide a simple tk gui, essentially useful for windows users
670c670
<       method not overriden. It doesn't complain anymore for unused import in
---
>       method not overridden. It doesn't complain anymore for unused import in
672c672
<       usefull when you're using zope Interface implementation in your project
---
>       useful when you're using zope Interface implementation in your project
719c719
<       in mutually exclusive branchs
---
>       in mutually exclusive branches
750c750
<     * new --zope option which trigger Zope import. Usefull to check Zope
---
>     * new --zope option which trigger Zope import. Useful to check Zope
758c758
<     * easy functionnal test infrastructure
---
>     * easy functional test infrastructure
770c770
<     * much more functionnalities !
---
>     * much more functionalities !
diff -r pylint-0.18.1.orig/checkers/base.py pylint-0.18.1/checkers/base.py
31c31
< # regex for class/function/variable/constant nane
---
> # regex for class/function/variable/constant name
183c183
<     * number of arguments, local variables, branchs, returns and statements in
---
>     * number of arguments, local variables, branches, returns and statements 
> in
508c508
<         """just pring a warning on exec statements"""
---
>         """just print a warning on exec statements"""
517c517
<             # ignore the name if it's not a builtin (ie not defined in the
---
>             # ignore the name if it's not a builtin (i.e. not defined in the
diff -r pylint-0.18.1.orig/checkers/classes.py pylint-0.18.1/checkers/classes.py
30c30
<               compatibility for an unexpected raison. Please report this kind 
\
---
>               compatibility for an unexpected reason. Please report this kind 
> \
34c34
<               'Used when a class defines a method which is hiden by an \
---
>               'Used when a class defines a method which is hidden by an \
54c54
<               a soooo common convention that you should\'nt break it!'),
---
>               a so common convention that you shouldn\'t break it!'),
84c84
<               'Used when an abstract method (ie raise NotImplementedError) is 
\
---
>               'Used when an abstract method (i.e. raise NotImplementedError) 
> is \
109c109
<     * access only to existant members via self
---
>     * access only to existent members via self
173c173
<         access to existant members
---
>         access to existent members
197c197
<         # check access to existant members on non metaclass classes
---
>         # check access to existent members on non metaclass classes
214c214
<         # check signature if the method overrload an herited method
---
>         # check signature if the method overloads inherited method
221c221
<                 # dictionnary.
---
>                 # dictionary.
325c325
<                     # it's defined, it's accessed after the initial assigment
---
>                     # it's defined, it's accessed after the initial assignment
401c401
<                         # don't check method begining with an underscore,
---
>                         # don't check method beginning with an underscore,
diff -r pylint-0.18.1.orig/checkers/exceptions.py 
pylint-0.18.1/checkers/exceptions.py
77c77
<         """visit raise possibly infering value"""
---
>         """visit raise possibly inferring value"""
diff -r pylint-0.18.1.orig/checkers/format.py pylint-0.18.1/checkers/format.py
39c39
<               'Used when a module has too much lines, reducing its 
readibility.'
---
>               'Used when a module has too much lines, reducing its 
> readability.'
48c48
<               'Used when a statement is endend by a semi-colon (";"), which \
---
>               'Used when a statement is ended by a semi-colon (";"), which \
52c52
<               'Used when an unexpected error occured in bad format detection.'
---
>               'Used when an unexpected error occurred in bad format 
> detection.'
126c126
<     """return true if the match in in the string coord"""
---
>     """return true if the match is in the string coord"""
diff -r pylint-0.18.1.orig/checkers/imports.py pylint-0.18.1/checkers/imports.py
62c62
<     it will return a dictionnary to represent this as a tree
---
>     it will return a dictionary to represent this as a tree
diff -r pylint-0.18.1.orig/checkers/__init__.py 
pylint-0.18.1/checkers/__init__.py
128c128
<         """should be overiden by subclasses"""
---
>         """should be overridden by subclasses"""
diff -r pylint-0.18.1.orig/checkers/similar.py pylint-0.18.1/checkers/similar.py
17c17
< """a similarties / code duplication command line tool and pylint checker
---
> """a similarities / code duplication command line tool and pylint checker
diff -r pylint-0.18.1.orig/checkers/typecheck.py 
pylint-0.18.1/checkers/typecheck.py
32c32
<               'Used when a variable is accessed for an unexistant member.'),
---
>               'Used when a variable is accessed for an unexistent member.'),
34c34
<               'Used when an object being called has been infered to a non \
---
>               'Used when an object being called has been inferred to a non \
37c37
<               'Used when a variable is accessed for an unexistant member, but 
\
---
>               'Used when a variable is accessed for an unexistent member, but 
> \
41,42c41,42
<               'Used when an assigment is done on a function call but the \
<               infered function doesn\'t return anything.'),
---
>               'Used when an assignment is done on a function call but the \
>               inferred function doesn\'t return anything.'),
44,45c44,45
<               'Used when an assigment is done on a function call but the \
<               infered function returns nothing but None.'),
---
>               'Used when an assignment is done on a function call but the \
>               inferred function returns nothing but None.'),
62c62
<                  'help' : 'Tells wether missing members accessed in mixin \
---
>                  'help' : 'Tells whether missing members accessed in mixin \
72c72
< should not be checked (useful for classes with attributes dynamicaly set).'}
---
> should not be checked (useful for classes with attributes dynamically set).'}
107c107
<         correct if a single of the infered nodes has the accessed attribute.
---
>         correct if a single of the inferred nodes has the accessed attribute.
185c185
<         # skip class, generator and uncomplete function definition
---
>         # skip class, generator and incomplete function definition
diff -r pylint-0.18.1.orig/checkers/utils.py pylint-0.18.1/checkers/utils.py
18c18
< """some functions that may be usefull for various checkers
---
> """some functions that may be useful for various checkers
32c32
<     """return the infered value for the given node.
---
>     """return the inferred value for the given node.
34c34
<     one node has been infered)
---
>     one node has been inferred)
43c43
<         return # None if there is ambiguity on the infered node
---
>         return # None if there is ambiguity on the inferred node
diff -r pylint-0.18.1.orig/checkers/variables.py 
pylint-0.18.1/checkers/variables.py
33c33
<     """get overriden method if any"""
---
>     """get overridden method if any"""
62c62
<     'W0602': ('Using global for %r but no assigment is done',
---
>     'W0602': ('Using global for %r but no assignment is done',
64c64
<               but no assigment to this variable is done.'),
---
>               but no assignment to this variable is done.'),
99c99
<     * use of variable before assigment
---
>     * use of variable before assignment
110c110
<                  'help' : 'Tells wether we should check for unused import in \
---
>                  'help' : 'Tells whether we should check for unused import in 
> \
268c268
<                     # same scope level assigment
---
>                     # same scope level assignment
271c271
<                 # global but no assigment
---
>                 # global but no assignment
278c278
<                     # module level assigment
---
>                     # module level assignment
358c358
<                 # checks for use before assigment
---
>                 # checks for use before assignment
diff -r pylint-0.18.1.orig/config.py pylint-0.18.1/config.py
110c110
< existant file in ~/.pylintrc, /etc/pylintrc. The current PYLINTRC is
---
> existent file in ~/.pylintrc, /etc/pylintrc. The current PYLINTRC is
diff -r pylint-0.18.1.orig/doc/beginner_pylint_tutorial.txt 
pylint-0.18.1/doc/beginner_pylint_tutorial.txt
79c79
<     * (F) fatal, if an error occured which prevented pylint from doing
---
>     * (F) fatal, if an error occurred which prevented pylint from doing
214c214
<   |message id |occurences |
---
>   |message id |occurrences |
304c304
<    2  """This script prompts a user to enter a messsage to encode or decode
---
>    2  """This script prompts a user to enter a message to encode or decode
diff -r pylint-0.18.1.orig/doc/features.txt pylint-0.18.1/doc/features.txt
82c82
<   Tells wether to display a full report or only the messages
---
>   Tells whether to display a full report or only the messages
88c88
<   respectivly contain the number of errors / warnings messages and the total
---
>   respectively contain the number of errors / warnings messages and the total
122c122
<   Used when an error occured preventing the analysis of a module (unable to 
find
---
>   Used when an error occurred preventing the analysis of a module (unable to 
> find
125c125
<   Used when an unexpected error occured while building the ASTNG 
representation.
---
>   Used when an unexpected error occurred while building the ASTNG 
> representation.
130,131c130,131
< :F0004: *unexpected infered value %s*
<   Used to indicate that some value of an unexpected type has been infered.
---
> :F0004: *unexpected inferred value %s*
>   Used to indicate that some value of an unexpected type has been inferred.
147c147
< * use of variable before assigment
---
> * use of variable before assignment
152c152
<   Tells wether we should check for unused import in __init__ files.
---
>   Tells whether we should check for unused import in __init__ files.
172c172
< :W0602: *Using global for %r but no assigment is done*
---
> :W0602: *Using global for %r but no assignment is done*
174c174
<   assigment to this variable is done.
---
>   assignment to this variable is done.
204c204
< * number of arguments, local variables, branchs, returns and statements in
---
> * number of arguments, local variables, branches, returns and statements in
302c302
<   Used when a statement is endend by a semi-colon (";"), which isn't necessary
---
>   Used when a statement is ended by a semi-colon (";"), which isn't necessary
343c343
<   Tells wether missing members accessed in mixin class should be ignored. A
---
>   Tells whether missing members accessed in mixin class should be ignored. A
349c349
<   (useful for classes with attributes dynamicaly set).
---
>   (useful for classes with attributes dynamically set).
364c364
<   Used when a variable is accessed for an unexistant member.
---
>   Used when a variable is accessed for an unexistent member.
366c366
<   Used when an object being called has been infered to a non callable object
---
>   Used when an object being called has been inferred to a non callable object
368c368
<   Used when a variable is accessed for an unexistant member, but astng was not
---
>   Used when a variable is accessed for an unexistent member, but astng was not
371c371
<   Used when an assigment is done on a function call but the infered function
---
>   Used when an assignment is done on a function call but the inferred function
374c374
<   Used when an assigment is done on a function call but the infered function
---
>   Used when an assignment is done on a function call but the inferred function
433c433
< * access only to existant members via self
---
> * access only to existent members via self
453c453
<   Used when a class defines a method which is hiden by an instance attribute
---
>   Used when a class defines a method which is hidden by an instance attribute
462,463c462,463
<   This is considered as an error since this is a soooo common convention that
<   you should'nt break it!
---
>   This is considered as an error since this is a so common convention that
>   you shouldn't break it!
484c484
<   Used when an abstract method (ie raise NotImplementedError) is not 
overridden
---
>   Used when an abstract method (i.e. raise NotImplementedError) is not 
> overridden
505c505
<   an unexpected raison. Please report this kind if you don't make sense of it.
---
>   an unexpected reason. Please report this kind if you don't make sense of it.
717c717
<   Used when a module has too much lines, reducing its readibility.
---
>   Used when a module has too much lines, reducing its readability.
729c729
<   Used when an unexpected error occured in bad format detection.Please report
---
>   Used when an unexpected error occurred in bad format detection.Please report
diff -r pylint-0.18.1.orig/doc/manual.txt pylint-0.18.1/doc/manual.txt
29c29
< different from what pychecker_ provides, especially since pychecker 
explicitely
---
> different from what pychecker_ provides, especially since pychecker explicitly
61c61
< Dependancies
---
> Dependencies
88c88
< (and maybe other, if si drop us a note please!). 
---
> (and maybe others, if you know about more OSes, please drop us a note!).
98c98
< You'll have to install dependancies in a similar way.
---
> You'll have to install dependencies in a similar way.
232c232
<   W:150:FormatChecker.process_tokens: Too many branchs (13/12)
---
>   W:150:FormatChecker.process_tokens: Too many branches (13/12)
239c239
< of messages by categories, modules dependancies...
---
> of messages by categories, modules dependencies...
250c250
<     (according the the coding standard), and a comparison from the
---
>     (according to the coding standard), and a comparison from the
317c317
<   comitting). I generally run pylint with all the bells and whistles
---
>   committing). I generally run pylint with all the bells and whistles
321c321
<   smart enough to understand the dynamicity of Python because I only run
---
>   smart enough to understand the dynamically of Python because I only run
359c359
< tracker page, it may be on the tracker page of one of its dependancies, namely
---
> tracker page, it may be on the tracker page of one of its dependencies, namely
556c556
< All our software is developped using the mercurial_ version control
---
> All our software is developed using the mercurial_ version control
568c568
< The same is true for pylint dependancies (if you use pylint code from the
---
> The same is true for pylint dependencies (if you use pylint code from the
diff -r pylint-0.18.1.orig/doc/quickstart.txt pylint-0.18.1/doc/quickstart.txt
127c127
<   W:150:FormatChecker.process_tokens: Too many branchs (13/12)
---
>   W:150:FormatChecker.process_tokens: Too many branches (13/12)
135c135
< of messages by categories, modules dependancies...
---
> of messages by categories, modules dependencies...
146c146
<     (according the the coding standard), and a comparison from the
---
>     (according to the coding standard), and a comparison from the
diff -r pylint-0.18.1.orig/epylint.py pylint-0.18.1/epylint.py
23c23
<    - THe following obviously doesn't
---
>    - The following obviously doesn't
diff -r pylint-0.18.1.orig/examples/pylintrc pylint-0.18.1/examples/pylintrc
73c73
< # Tells wether to display a full report or only the messages
---
> # Tells whether to display a full report or only the messages
78c78
< # respectivly contain the number of errors / warnings messages and the total
---
> # respectively contain the number of errors / warnings messages and the total
98c98
< # Tells wether missing members accessed in mixin class should be ignored. A
---
> # Tells whether missing members accessed in mixin class should be ignored. A
103c103
< # (useful for classes with attributes dynamicaly set).
---
> # (useful for classes with attributes dynamically set).
119c119
< # * use of variable before assigment
---
> # * use of variable before assignment
123c123
< # Tells wether we should check for unused import in __init__ files.
---
> # Tells whether we should check for unused import in __init__ files.
137c137
< # * number of arguments, local variables, branchs, returns and statements in
---
> # * number of arguments, local variables, branches, returns and statements in
228c228
< # * access only to existant members via self
---
> # * access only to existent members via self
diff -r pylint-0.18.1.orig/gui.py pylint-0.18.1/gui.py
47c47
<         """lauch the mainloop of the application"""
---
>         """launch the mainloop of the application"""
55c55
<         """lauches pylint"""
---
>         """launches pylint"""
diff -r pylint-0.18.1.orig/interfaces.py pylint-0.18.1/interfaces.py
63c63
<     Each ckecker may interact with the linter instance using this API
---
>     Each checker may interact with the linter instance using this API
diff -r pylint-0.18.1.orig/lint.py pylint-0.18.1/lint.py
73c73
<               'Used when an error occured preventing the analysis of a \
---
>               'Used when an error occurred preventing the analysis of a \
76c76
<               'Used when an unexpected error occured while building the ASTNG 
\
---
>               'Used when an unexpected error occurred while building the 
> ASTNG \
82c82
<     'F0004': ('unexpected infered value %s',
---
>     'F0004': ('unexpected inferred value %s',
84c84
<               infered.'),
---
>               inferred.'),
188c188
<                  'help' : 'Tells wether to display a full report or only the\
---
>                  'help' : 'Tells whether to display a full report or only the\
198c198
< warning, statement which respectivly contain the number of errors / warnings\
---
> warning, statement which respectively contain the number of errors / warnings\
433c433
<         # first child line number used to distinguate between disable-msg
---
>         # first child line number used to distinguish between disable-msg
638c638
<             msg = 'An exception occured while rating: %s' % ex
---
>             msg = 'An exception occurred while rating: %s' % ex
668c668
<     lines = ('message id', 'occurences')
---
>     lines = ('message id', 'occurrences')
834c834
<     * (F) fatal, if an error occured which prevented pylint from doing further
---
>     * (F) fatal, if an error occurred which prevented pylint from doing 
> further
862c862
<             # if a custom reporter is provided as argument, it may be 
overriden
---
>             # if a custom reporter is provided as argument, it may be 
> overridden
889c889
<         """callback for option preprocessing (ie before optik parsing)"""
---
>         """callback for option preprocessing (i.e. before optik parsing)"""
893c893
<         """callback for option preprocessing (ie before optik parsing)"""
---
>         """callback for option preprocessing (i.e. before optik parsing)"""
diff -r pylint-0.18.1.orig/man/pylint.1 pylint-0.18.1/man/pylint.1
85c85
< Tells wether to display a full report or only the messages [current: yes]
---
> Tells whether to display a full report or only the messages [current: yes]
87c87
< Python expression which should return a note less than 10 (10 is the highest 
note). You have access to the variables errors warning, statement which 
respectivly contain the number of errors / warnings messages and the total 
number of statements analyzed. This is used by the  global evaluation report 
(R0004). [current: 10.0 - ((float(5 * error + warning + refactor + convention) 
/ statement) * 10)]
---
> Python expression which should return a note less than 10 (10 is the highest 
> note). You have access to the variables errors warning, statement which 
> respectively contain the number of errors / warnings messages and the total 
> number of statements analyzed. This is used by the  global evaluation report 
> (R0004). [current: 10.0 - ((float(5 * error + warning + refactor + 
> convention) / statement) * 10)]
149c149
< Tells wether missing members accessed in mixin class should be ignored. A 
mixin class is detected if its name ends with "mixin" (case insensitive). 
[current: yes]
---
> Tells whether missing members accessed in mixin class should be ignored. A 
> mixin class is detected if its name ends with "mixin" (case insensitive). 
> [current: yes]
151c151
< List of classes names for which member attributes should not be checked 
(useful for classes with attributes dynamicaly set). [current: SQLObject]
---
> List of classes names for which member attributes should not be checked 
> (useful for classes with attributes dynamically set). [current: SQLObject]
159c159
< Tells wether we should check for unused import in __init__ files. [current: 
no]
---
> Tells whether we should check for unused import in __init__ files. [current: 
> no]
208c208
< existant file in ~/.pylintrc, /etc/pylintrc. The current PYLINTRC is
---
> existent file in ~/.pylintrc, /etc/pylintrc. The current PYLINTRC is
220c220
<     * (F) fatal, if an error occured which prevented pylint from doing 
further processing.     
---
>     * (F) fatal, if an error occurred which prevented pylint from doing 
> further processing.     
diff -r pylint-0.18.1.orig/man/pyreverse.1 pylint-0.18.1/man/pyreverse.1
65c65
< will also take all classes related to those fecthed by<depth>=1.
---
> will also take all classes related to those fetched by<depth>=1.
Only in pylint-0.18.1: .pc
diff -r pylint-0.18.1.orig/pyreverse/diadefslib.py 
pylint-0.18.1/pyreverse/diadefslib.py
44c44
<         """activate some options if not explicitely desactivated"""
---
>         """activate some options if not explicitly deactivated"""
diff -r pylint-0.18.1.orig/pyreverse/diagrams.py 
pylint-0.18.1/pyreverse/diagrams.py
45c45
<     """a diagram object, ie a label associated to an astng node
---
>     """a diagram object, i.e. a label associated to an astng node
81c81
<         """return visible attributs, possibly with class name"""
---
>         """return visible attributes, possibly with class name"""
138c138
<         """return a klass by its name, raise KeyError if not found
---
>         """return a class by its name, raise KeyError if not found
diff -r pylint-0.18.1.orig/pyreverse/main.py pylint-0.18.1/pyreverse/main.py
102c102
<         """checking argmuents and run project"""
---
>         """checking arguments and run project"""
diff -r pylint-0.18.1.orig/README pylint-0.18.1/README
20c20
< You'll have to install dependancies in a similar way. For debian and
---
> You'll have to install dependencies in a similar way. For debian and
55c55
< * Nathaniel Manista: suspcicious lambda checking
---
> * Nathaniel Manista: suspicious lambda checking
diff -r pylint-0.18.1.orig/test/input/func_block_disable_msg.py 
pylint-0.18.1/test/input/func_block_disable_msg.py
105c105
<     """should'nt display to much attributes/not enough methods messages
---
>     """shouldn't display to much attributes/not enough methods messages
122c122
<         """THIS Method has too much branchs and returns but i don't care
---
>         """THIS Method has too much branches and returns but i don't care
diff -r pylint-0.18.1.orig/test/test_func.py pylint-0.18.1/test/test_func.py
164c164
<         dependancies = get_tests_info(base, '.py')
---
>         dependencies = get_tests_info(base, '.py')
169c169
<             depends = dependancies or None
---
>             depends = dependencies or None
178c178
<             depends = dependancies or None
---
>             depends = dependencies or None
186c186
< ##         depends = dependancies or None
---
> ##         depends = dependencies or None
diff -r pylint-0.18.1.orig/test/test_regr.py pylint-0.18.1/test/test_regr.py
17c17
< to be incorporated in the automatic functionnal test framework
---
> to be incorporated in the automatic functional test framework
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to