Hello community,
here is the log from the commit of package python-jsbeautifier for
openSUSE:Factory checked in at 2020-04-16 23:05:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jsbeautifier (Old)
and /work/SRC/openSUSE:Factory/.python-jsbeautifier.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jsbeautifier"
Thu Apr 16 23:05:44 2020 rev:7 rq:794586 version:1.11.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jsbeautifier/python-jsbeautifier.changes
2020-03-04 09:44:35.406078276 +0100
+++
/work/SRC/openSUSE:Factory/.python-jsbeautifier.new.2738/python-jsbeautifier.changes
2020-04-16 23:05:50.731813236 +0200
@@ -1,0 +2,10 @@
+Thu Apr 16 11:59:13 UTC 2020 - [email protected]
+
+- version update to 1.11.0
+ Closed Issues
+ * Please bump mkdirp to fix [email protected] vulnerability (#1768)
+ * Support optional-chaining (#1727)
+ * Please support es module (#1706)
+ * Support new js proposals: optional-chaining & pipeline-operator (#1530)
+
+-------------------------------------------------------------------
Old:
----
jsbeautifier-1.10.3.tar.gz
New:
----
jsbeautifier-1.11.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jsbeautifier.spec ++++++
--- /var/tmp/diff_new_pack.jdRwLh/_old 2020-04-16 23:05:52.007814373 +0200
+++ /var/tmp/diff_new_pack.jdRwLh/_new 2020-04-16 23:05:52.007814373 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jsbeautifier
-Version: 1.10.3
+Version: 1.11.0
Release: 0
Summary: JavaScript unobfuscator and beautifier
License: MIT
++++++ jsbeautifier-1.10.3.tar.gz -> jsbeautifier-1.11.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jsbeautifier-1.10.3/PKG-INFO
new/jsbeautifier-1.11.0/PKG-INFO
--- old/jsbeautifier-1.10.3/PKG-INFO 2020-01-14 20:02:12.000000000 +0100
+++ new/jsbeautifier-1.11.0/PKG-INFO 2020-04-05 21:25:15.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: jsbeautifier
-Version: 1.10.3
+Version: 1.11.0
Summary: JavaScript unobfuscator and beautifier.
Home-page: https://beautifier.io
Author: Liam Newman, Einar Lielmanis, et al.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jsbeautifier-1.10.3/jsbeautifier/__version__.py
new/jsbeautifier-1.11.0/jsbeautifier/__version__.py
--- old/jsbeautifier-1.10.3/jsbeautifier/__version__.py 2020-01-14
20:00:30.000000000 +0100
+++ new/jsbeautifier-1.11.0/jsbeautifier/__version__.py 2020-04-05
21:24:04.000000000 +0200
@@ -1 +1 @@
-__version__ = '1.10.3'
+__version__ = '1.11.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jsbeautifier-1.10.3/jsbeautifier/javascript/tokenizer.py
new/jsbeautifier-1.11.0/jsbeautifier/javascript/tokenizer.py
--- old/jsbeautifier-1.10.3/jsbeautifier/javascript/tokenizer.py
2020-01-14 20:00:30.000000000 +0100
+++ new/jsbeautifier-1.11.0/jsbeautifier/javascript/tokenizer.py
2020-04-05 21:24:04.000000000 +0200
@@ -67,15 +67,17 @@
positionable_operators = frozenset(
(">>> === !== " +
- "<< && >= ** != == <= >> || " +
+ "<< && >= ** != == <= >> || |> " +
"< / - + > : & % ? ^ | *").split(' '))
punct = (">>>= " +
"... >>= <<= === >>> !== **= " +
- "=> ^= :: /= << <= == && -= >= >> != -- += ** || ++ %= &= *= |= " +
+ "=> ^= :: /= << <= == && -= >= >> != -- += ** || ++ %= &= *= |= |> " +
"= ! ? > < : / ^ - + * & % ~ |")
punct = re.compile(r'([-[\]{}()*+?.,\\^$|#])').sub(r'\\\1', punct)
+# ?. but not if followed by a number
+punct = '\\?\\.(?!\\d) ' + punct
punct = punct.replace(' ', '|')
punct_pattern = re.compile(punct)
@@ -434,6 +436,8 @@
if resulting_string != '':
if resulting_string == '=':
token = self._create_token(TOKEN.EQUALS, resulting_string)
+ elif resulting_string == '?.':
+ token = self._create_token(TOKEN.DOT, resulting_string)
else:
token = self._create_token(TOKEN.OPERATOR, resulting_string)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jsbeautifier-1.10.3/jsbeautifier/tests/generated/tests.py
new/jsbeautifier-1.11.0/jsbeautifier/tests/generated/tests.py
--- old/jsbeautifier-1.10.3/jsbeautifier/tests/generated/tests.py
2020-01-14 20:01:47.000000000 +0100
+++ new/jsbeautifier-1.11.0/jsbeautifier/tests/generated/tests.py
2020-04-05 21:24:52.000000000 +0200
@@ -2025,6 +2025,43 @@
'.bar()',
# -- output --
'this.something.xxx = foo.moo.bar()')
+
+ # optional chaining operator
+ bt(
+ 'foo\n' +
+ '?.bar()\n' +
+ '?.baz()?.cucumber(fat)',
+ # -- output --
+ 'foo?.bar()?.baz()?.cucumber(fat)')
+ bt(
+ 'foo\n' +
+ '?.bar()\n' +
+ '?.baz()?.cucumber(fat); foo?.bar()?.baz()?.cucumber(fat)',
+ # -- output --
+ 'foo?.bar()?.baz()?.cucumber(fat);\n' +
+ 'foo?.bar()?.baz()?.cucumber(fat)')
+ bt(
+ 'foo\n' +
+ '?.bar()\n' +
+ '?.baz()?.cucumber(fat)\n' +
+ ' foo?.bar()?.baz()?.cucumber(fat)',
+ # -- output --
+ 'foo?.bar()?.baz()?.cucumber(fat)\n' +
+ 'foo?.bar()?.baz()?.cucumber(fat)')
+ bt(
+ 'this\n' +
+ '?.something = foo?.bar()\n' +
+ '?.baz()?.cucumber(fat)',
+ # -- output --
+ 'this?.something = foo?.bar()?.baz()?.cucumber(fat)')
+ bt('this?.something?.xxx = foo?.moo?.bar()')
+ bt(
+ 'this\n' +
+ '?.something\n' +
+ '?.xxx = foo?.moo\n' +
+ '?.bar()',
+ # -- output --
+ 'this?.something?.xxx = foo?.moo?.bar()')
# break chained methods - (break_chained_methods = "false",
preserve_newlines = "true")
self.reset_options()
@@ -2076,6 +2113,54 @@
' .something\n' +
' .xxx = foo.moo\n' +
' .bar()')
+
+ # optional chaining operator
+ bt(
+ 'foo\n' +
+ '?.bar()\n' +
+ '?.baz()?.cucumber(fat)',
+ # -- output --
+ 'foo\n' +
+ ' ?.bar()\n' +
+ ' ?.baz()?.cucumber(fat)')
+ bt(
+ 'foo\n' +
+ '?.bar()\n' +
+ '?.baz()?.cucumber(fat); foo?.bar()?.baz()?.cucumber(fat)',
+ # -- output --
+ 'foo\n' +
+ ' ?.bar()\n' +
+ ' ?.baz()?.cucumber(fat);\n' +
+ 'foo?.bar()?.baz()?.cucumber(fat)')
+ bt(
+ 'foo\n' +
+ '?.bar()\n' +
+ '?.baz()?.cucumber(fat)\n' +
+ ' foo?.bar()?.baz()?.cucumber(fat)',
+ # -- output --
+ 'foo\n' +
+ ' ?.bar()\n' +
+ ' ?.baz()?.cucumber(fat)\n' +
+ 'foo?.bar()?.baz()?.cucumber(fat)')
+ bt(
+ 'this\n' +
+ '?.something = foo?.bar()\n' +
+ '?.baz()?.cucumber(fat)',
+ # -- output --
+ 'this\n' +
+ ' ?.something = foo?.bar()\n' +
+ ' ?.baz()?.cucumber(fat)')
+ bt('this?.something?.xxx = foo?.moo?.bar()')
+ bt(
+ 'this\n' +
+ '?.something\n' +
+ '?.xxx = foo?.moo\n' +
+ '?.bar()',
+ # -- output --
+ 'this\n' +
+ ' ?.something\n' +
+ ' ?.xxx = foo?.moo\n' +
+ ' ?.bar()')
# break chained methods - (break_chained_methods = "true",
preserve_newlines = "false")
self.reset_options()
@@ -2128,6 +2213,55 @@
'.bar()',
# -- output --
'this.something.xxx = foo.moo.bar()')
+
+ # optional chaining operator
+ bt(
+ 'foo\n' +
+ '?.bar()\n' +
+ '?.baz()?.cucumber(fat)',
+ # -- output --
+ 'foo?.bar()\n' +
+ ' ?.baz()\n' +
+ ' ?.cucumber(fat)')
+ bt(
+ 'foo\n' +
+ '?.bar()\n' +
+ '?.baz()?.cucumber(fat); foo?.bar()?.baz()?.cucumber(fat)',
+ # -- output --
+ 'foo?.bar()\n' +
+ ' ?.baz()\n' +
+ ' ?.cucumber(fat);\n' +
+ 'foo?.bar()\n' +
+ ' ?.baz()\n' +
+ ' ?.cucumber(fat)')
+ bt(
+ 'foo\n' +
+ '?.bar()\n' +
+ '?.baz()?.cucumber(fat)\n' +
+ ' foo?.bar()?.baz()?.cucumber(fat)',
+ # -- output --
+ 'foo?.bar()\n' +
+ ' ?.baz()\n' +
+ ' ?.cucumber(fat)\n' +
+ 'foo?.bar()\n' +
+ ' ?.baz()\n' +
+ ' ?.cucumber(fat)')
+ bt(
+ 'this\n' +
+ '?.something = foo?.bar()\n' +
+ '?.baz()?.cucumber(fat)',
+ # -- output --
+ 'this?.something = foo?.bar()\n' +
+ ' ?.baz()\n' +
+ ' ?.cucumber(fat)')
+ bt('this?.something?.xxx = foo?.moo?.bar()')
+ bt(
+ 'this\n' +
+ '?.something\n' +
+ '?.xxx = foo?.moo\n' +
+ '?.bar()',
+ # -- output --
+ 'this?.something?.xxx = foo?.moo?.bar()')
# break chained methods - (break_chained_methods = "true",
preserve_newlines = "true")
self.reset_options()
@@ -2187,6 +2321,62 @@
' .something\n' +
' .xxx = foo.moo\n' +
' .bar()')
+
+ # optional chaining operator
+ bt(
+ 'foo\n' +
+ '?.bar()\n' +
+ '?.baz()?.cucumber(fat)',
+ # -- output --
+ 'foo\n' +
+ ' ?.bar()\n' +
+ ' ?.baz()\n' +
+ ' ?.cucumber(fat)')
+ bt(
+ 'foo\n' +
+ '?.bar()\n' +
+ '?.baz()?.cucumber(fat); foo?.bar()?.baz()?.cucumber(fat)',
+ # -- output --
+ 'foo\n' +
+ ' ?.bar()\n' +
+ ' ?.baz()\n' +
+ ' ?.cucumber(fat);\n' +
+ 'foo?.bar()\n' +
+ ' ?.baz()\n' +
+ ' ?.cucumber(fat)')
+ bt(
+ 'foo\n' +
+ '?.bar()\n' +
+ '?.baz()?.cucumber(fat)\n' +
+ ' foo?.bar()?.baz()?.cucumber(fat)',
+ # -- output --
+ 'foo\n' +
+ ' ?.bar()\n' +
+ ' ?.baz()\n' +
+ ' ?.cucumber(fat)\n' +
+ 'foo?.bar()\n' +
+ ' ?.baz()\n' +
+ ' ?.cucumber(fat)')
+ bt(
+ 'this\n' +
+ '?.something = foo?.bar()\n' +
+ '?.baz()?.cucumber(fat)',
+ # -- output --
+ 'this\n' +
+ ' ?.something = foo?.bar()\n' +
+ ' ?.baz()\n' +
+ ' ?.cucumber(fat)')
+ bt('this?.something?.xxx = foo?.moo?.bar()')
+ bt(
+ 'this\n' +
+ '?.something\n' +
+ '?.xxx = foo?.moo\n' +
+ '?.bar()',
+ # -- output --
+ 'this\n' +
+ ' ?.something\n' +
+ ' ?.xxx = foo?.moo\n' +
+ ' ?.bar()')
#============================================================
@@ -2797,7 +2987,7 @@
self.options.preserve_newlines = false
bt(
'var res = a + b - c / d * e % f;\n' +
- 'var res = g & h | i ^ j;\n' +
+ 'var res = g & h | i ^ j |> console.log;\n' +
'var res = (k && l || m) ? n : o;\n' +
'var res = p >> q << r >>> s;\n' +
'var res = t === u !== v != w == x >= y <= z > aa < ab;\n' +
@@ -2810,7 +3000,8 @@
'f;\n' +
' var res = g & h\n' +
'| i ^\n' +
- 'j;\n' +
+ 'j\n' +
+ '|> console.log;\n' +
'var res = (k &&\n' +
'l\n' +
'|| m) ?\n' +
@@ -2834,7 +3025,7 @@
'-ad',
# -- output --
'var res = a + b - c / d * e % f;\n' +
- 'var res = g & h | i ^ j;\n' +
+ 'var res = g & h | i ^ j |> console.log;\n' +
'var res = (k && l || m) ? n : o;\n' +
'var res = p >> q << r >>> s;\n' +
'var res = t === u !== v != w == x >= y <= z > aa < ab;\n' +
@@ -2846,7 +3037,7 @@
self.options.preserve_newlines = false
bt(
'var res = a + b - c / d * e % f;\n' +
- 'var res = g & h | i ^ j;\n' +
+ 'var res = g & h | i ^ j |> console.log;\n' +
'var res = (k && l || m) ? n : o;\n' +
'var res = p >> q << r >>> s;\n' +
'var res = t === u !== v != w == x >= y <= z > aa < ab;\n' +
@@ -2859,7 +3050,8 @@
'f;\n' +
' var res = g & h\n' +
'| i ^\n' +
- 'j;\n' +
+ 'j\n' +
+ '|> console.log;\n' +
'var res = (k &&\n' +
'l\n' +
'|| m) ?\n' +
@@ -2883,7 +3075,7 @@
'-ad',
# -- output --
'var res = a + b - c / d * e % f;\n' +
- 'var res = g & h | i ^ j;\n' +
+ 'var res = g & h | i ^ j |> console.log;\n' +
'var res = (k && l || m) ? n : o;\n' +
'var res = p >> q << r >>> s;\n' +
'var res = t === u !== v != w == x >= y <= z > aa < ab;\n' +
@@ -2895,7 +3087,7 @@
self.options.preserve_newlines = false
bt(
'var res = a + b - c / d * e % f;\n' +
- 'var res = g & h | i ^ j;\n' +
+ 'var res = g & h | i ^ j |> console.log;\n' +
'var res = (k && l || m) ? n : o;\n' +
'var res = p >> q << r >>> s;\n' +
'var res = t === u !== v != w == x >= y <= z > aa < ab;\n' +
@@ -2908,7 +3100,8 @@
'f;\n' +
' var res = g & h\n' +
'| i ^\n' +
- 'j;\n' +
+ 'j\n' +
+ '|> console.log;\n' +
'var res = (k &&\n' +
'l\n' +
'|| m) ?\n' +
@@ -2932,7 +3125,7 @@
'-ad',
# -- output --
'var res = a + b - c / d * e % f;\n' +
- 'var res = g & h | i ^ j;\n' +
+ 'var res = g & h | i ^ j |> console.log;\n' +
'var res = (k && l || m) ? n : o;\n' +
'var res = p >> q << r >>> s;\n' +
'var res = t === u !== v != w == x >= y <= z > aa < ab;\n' +
@@ -2944,7 +3137,7 @@
self.options.preserve_newlines = false
bt(
'var res = a + b - c / d * e % f;\n' +
- 'var res = g & h | i ^ j;\n' +
+ 'var res = g & h | i ^ j |> console.log;\n' +
'var res = (k && l || m) ? n : o;\n' +
'var res = p >> q << r >>> s;\n' +
'var res = t === u !== v != w == x >= y <= z > aa < ab;\n' +
@@ -2957,7 +3150,8 @@
'f;\n' +
' var res = g & h\n' +
'| i ^\n' +
- 'j;\n' +
+ 'j\n' +
+ '|> console.log;\n' +
'var res = (k &&\n' +
'l\n' +
'|| m) ?\n' +
@@ -2981,7 +3175,7 @@
'-ad',
# -- output --
'var res = a + b - c / d * e % f;\n' +
- 'var res = g & h | i ^ j;\n' +
+ 'var res = g & h | i ^ j |> console.log;\n' +
'var res = (k && l || m) ? n : o;\n' +
'var res = p >> q << r >>> s;\n' +
'var res = t === u !== v != w == x >= y <= z > aa < ab;\n' +
@@ -3001,7 +3195,8 @@
'f;\n' +
' var res = g & h\n' +
'| i ^\n' +
- 'j;\n' +
+ 'j\n' +
+ '|> console.log;\n' +
'var res = (k &&\n' +
'l\n' +
'|| m) ?\n' +
@@ -3030,7 +3225,8 @@
' f;\n' +
'var res = g & h |\n' +
' i ^\n' +
- ' j;\n' +
+ ' j |>\n' +
+ ' console.log;\n' +
'var res = (k &&\n' +
' l ||\n' +
' m) ?\n' +
@@ -3122,7 +3318,8 @@
'f;\n' +
' var res = g & h\n' +
'| i ^\n' +
- 'j;\n' +
+ 'j\n' +
+ '|> console.log;\n' +
'var res = (k &&\n' +
'l\n' +
'|| m) ?\n' +
@@ -3151,7 +3348,8 @@
' f;\n' +
'var res = g & h |\n' +
' i ^\n' +
- ' j;\n' +
+ ' j |>\n' +
+ ' console.log;\n' +
'var res = (k &&\n' +
' l ||\n' +
' m) ?\n' +
@@ -3245,7 +3443,8 @@
'f;\n' +
' var res = g & h\n' +
'| i ^\n' +
- 'j;\n' +
+ 'j\n' +
+ '|> console.log;\n' +
'var res = (k &&\n' +
'l\n' +
'|| m) ?\n' +
@@ -3274,7 +3473,8 @@
' % f;\n' +
'var res = g & h\n' +
' | i\n' +
- ' ^ j;\n' +
+ ' ^ j\n' +
+ ' |> console.log;\n' +
'var res = (k\n' +
' && l\n' +
' || m)\n' +
@@ -3367,7 +3567,8 @@
'f;\n' +
' var res = g & h\n' +
'| i ^\n' +
- 'j;\n' +
+ 'j\n' +
+ '|> console.log;\n' +
'var res = (k &&\n' +
'l\n' +
'|| m) ?\n' +
@@ -3397,7 +3598,8 @@
' f;\n' +
'var res = g & h\n' +
' | i ^\n' +
- ' j;\n' +
+ ' j\n' +
+ ' |> console.log;\n' +
'var res = (k &&\n' +
' l\n' +
' || m) ?\n' +
@@ -6442,6 +6644,9 @@
' }\n' +
'})')
+ # Issue 1727 - Optional chaining
+ bt('true?.1:.2', 'true ? .1 : .2')
+
# Issue 406 - Multiline array
bt(
'var tempName = [\n' +
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jsbeautifier-1.10.3/jsbeautifier.egg-info/PKG-INFO
new/jsbeautifier-1.11.0/jsbeautifier.egg-info/PKG-INFO
--- old/jsbeautifier-1.10.3/jsbeautifier.egg-info/PKG-INFO 2020-01-14
20:02:11.000000000 +0100
+++ new/jsbeautifier-1.11.0/jsbeautifier.egg-info/PKG-INFO 2020-04-05
21:25:15.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: jsbeautifier
-Version: 1.10.3
+Version: 1.11.0
Summary: JavaScript unobfuscator and beautifier.
Home-page: https://beautifier.io
Author: Liam Newman, Einar Lielmanis, et al.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jsbeautifier-1.10.3/jsbeautifier.egg-info/SOURCES.txt
new/jsbeautifier-1.11.0/jsbeautifier.egg-info/SOURCES.txt
--- old/jsbeautifier-1.10.3/jsbeautifier.egg-info/SOURCES.txt 2020-01-14
20:02:11.000000000 +0100
+++ new/jsbeautifier-1.11.0/jsbeautifier.egg-info/SOURCES.txt 2020-04-05
21:25:15.000000000 +0200
@@ -1,5 +1,6 @@
MANIFEST.in
js-beautify-test
+setup-css.py
setup.py
jsbeautifier/__init__.py
jsbeautifier/__version__.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jsbeautifier-1.10.3/setup-css.py
new/jsbeautifier-1.11.0/setup-css.py
--- old/jsbeautifier-1.10.3/setup-css.py 1970-01-01 01:00:00.000000000
+0100
+++ new/jsbeautifier-1.11.0/setup-css.py 2020-04-05 21:24:04.000000000
+0200
@@ -0,0 +1,46 @@
+#!/usr/bin/env python
+
+import os
+import sys
+
+from setup import PyTest # from setyp.py, not setuptools!
+
+from setuptools import setup
+from jsbeautifier.__version__ import __version__
+
+from setuptools.command.test import test as TestCommand
+
+DIR_CSS = 'cssbeautifier/tests/'
+
+
+class PyTestCSS(PyTest):
+ def initialize_options(self):
+ TestCommand.initialize_options(self)
+ self.pytest_args = ['--assert=plain'] + \
+ [DIR_CSS + x for x in os.listdir(DIR_CSS)
+ if x.endswith('.py') and x[0] not in '._']
+
+
+setup(name='cssbeautifier',
+ version=__version__,
+ description='CSS unobfuscator and beautifier.',
+ long_description=('Beautify, unpack or deobfuscate CSS'),
+ author='Liam Newman, Einar Lielmanis, et al.',
+ author_email='[email protected]',
+ url='https://beautifier.io',
+ entry_points={
+ 'console_scripts': [
+ 'css-beautify = cssbeautifier:main'
+ ]
+ },
+ packages=['cssbeautifier',
+ 'cssbeautifier.tests', 'cssbeautifier.tests.generated',
+ 'cssbeautifier.css'],
+ install_requires=["jsbeautifier",
+ "six>=1.13.0",
+ "editorconfig>=0.12.2"],
+ license='MIT',
+ test_suite='pytest.collector',
+ cmdclass={'test': PyTestCSS},
+
+ )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jsbeautifier-1.10.3/setup.py
new/jsbeautifier-1.11.0/setup.py
--- old/jsbeautifier-1.10.3/setup.py 2020-01-14 20:00:30.000000000 +0100
+++ new/jsbeautifier-1.11.0/setup.py 2020-04-05 21:24:04.000000000 +0200
@@ -16,8 +16,9 @@
def initialize_options(self):
TestCommand.initialize_options(self)
- self.pytest_args = ['--assert=plain'] + [DIR + \
- x for x in os.listdir(DIR) if x.endswith('.py') and x[0] not in
'._']
+ self.pytest_args = ['--assert=plain'] + \
+ [DIR + x for x in os.listdir(DIR)
+ if x.endswith('.py') and x[0] not in '._']
def run_tests(self):
# import here, cause outside the eggs aren't loaded