File tree Expand file tree Collapse file tree 5 files changed +15
-11
lines changed Expand file tree Collapse file tree 5 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ Changelog
2
2
=========
3
3
4
4
5
+ 1.5.x (unreleased)
6
+ ------------------
7
+
8
+
9
+
5
10
1.5.2 (2014-04-04)
6
11
------------------
7
12
Original file line number Diff line number Diff line change 46
46
"""
47
47
from __future__ import with_statement
48
48
49
- __version__ = '1.5.2 '
49
+ __version__ = '1.5.3a0 '
50
50
51
51
import os
52
52
import sys
Original file line number Diff line number Diff line change 1
1
[wheel]
2
2
universal = 1
3
+
4
+ [pep8]
5
+ select =
6
+ ignore = E226,E24
7
+ max_line_length = 79
Original file line number Diff line number Diff line change @@ -82,11 +82,10 @@ def test_check_simple(self):
82
82
self .assertEqual (x , str (num ))
83
83
self .assertEqual (y , str (col ))
84
84
self .assertTrue (msg .startswith (' E11' ))
85
- # Config file read from the pep8's setup.cfg or tox.ini
86
- config_filenames = self ._config_filenames
87
- self .assertEqual (len (config_filenames ), 2 )
88
- self .assertTrue (config_filenames [0 ].endswith ('setup.cfg' ))
89
- self .assertTrue (config_filenames [1 ].endswith ('tox.ini' ))
85
+ # Config file read from the pep8's setup.cfg
86
+ config_filenames = [os .path .basename (p )
87
+ for p in self ._config_filenames ]
88
+ self .assertTrue ('setup.cfg' in config_filenames )
90
89
91
90
def test_check_stdin (self ):
92
91
pep8 .PROJECT_CONFIG = ()
Original file line number Diff line number Diff line change @@ -13,8 +13,3 @@ commands =
13
13
{envpython} pep8.py --statistics pep8.py
14
14
{envpython} pep8.py --doctest
15
15
{envpython} -m testsuite.test_all
16
-
17
- [pep8]
18
- select =
19
- ignore = E226,E24
20
- max_line_length = 79
You can’t perform that action at this time.
0 commit comments