Skip to content

Commit 03687e5

Browse files
committed
⚫ Fade to black.
1 parent 00b6247 commit 03687e5

14 files changed

Lines changed: 9 additions & 21 deletions

cssutils/css/csspagerule.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ def __parseMarginAndStyle(self, tokens):
257257
token[0] == 'ATKEYWORD'
258258
and self._normalize(token[1]) in MarginRule.margins
259259
):
260-
261260
# MarginRule
262261
m = MarginRule(parentRule=self, parentStyleSheet=self.parentStyleSheet)
263262
m.cssText = chain([token], g)

cssutils/css/cssrule.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ class CSSRuleRules(CSSRule):
161161
"""
162162

163163
def __init__(self, parentRule=None, parentStyleSheet=None):
164-
165164
super().__init__(parentRule=parentRule, parentStyleSheet=parentStyleSheet)
166165

167166
self.cssRules = cssutils.css.CSSRuleList()

cssutils/css/property.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,6 @@ def validate(self): # noqa: C901
466466
# TODO: same for @page
467467

468468
if self.name and self.value:
469-
470469
# TODO
471470
# cv = self.propertyValue
472471
# if cv.cssValueType == cv.CSS_VARIABLE and not cv.value:

cssutils/errorhandler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ class ErrorHandler(_ErrorHandler):
113113
instance = None
114114

115115
def __init__(self, log=None, defaultloglevel=logging.INFO, raiseExceptions=True):
116-
117116
if ErrorHandler.instance is None:
118117
ErrorHandler.instance = _ErrorHandler(
119118
log=log,

cssutils/prodparser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ def nextProd(self, token):
197197
"""
198198
# print u'TEST for %s in %s' % (token, self)
199199
while self._round < self._max:
200-
201200
# for this round
202201
i = self._i
203202
round = self._round

cssutils/serialize.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,6 @@ def do_css_Value(self, value, valuesOnly=None):
10801080
else:
10811081
val = v[1:]
10821082
else:
1083-
10841083
val = self._strip_zeros('%f' % value.value) # issue #27
10851084

10861085
# keep '+' if given

cssutils/tests/test_cssfontfacerule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def test_properties(self):
185185
]
186186
}
187187
for n, t in list(tests.items()):
188-
for (v, valid) in t:
188+
for v, valid in t:
189189
r = cssutils.css.CSSFontFaceRule()
190190
r.style[n] = v
191191
assert r.style.getProperty(n).parent == r.style

cssutils/tests/test_cssproperties.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77

88
class TestCSSProperties:
9-
109
# def test_cssvalues(self):
1110
# "cssproperties cssvalues"
1211
# # does actually return match object, so a very simplified test...

cssutils/tests/test_scripts_csscombine.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77

88
class CSSCombine:
9-
109
C = '@namespace s2"uri";s2|sheet-1{top:1px}s2|sheet-2{top:2px}proxy{top:3px}'
1110

1211
def test_combine(self):

cssutils/tests/test_tokenize2.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313

1414
class TestTokenizer:
15-
1615
testsall = {
1716
# IDENT
1817
'äöü߀': [('IDENT', 'äöü߀', 1, 1)],

0 commit comments

Comments
 (0)