https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 6f740a9aaaf1e591ebc1adc03240bd1cfe3c4769 authored by Darren Shen on 15 March 2018, 06:00:00 UTC
[css-typed-om] Clean up CSSKeywordValue tests.
Tip revision: 6f740a9
tox.ini
[tox]
envlist = py27,py36,pypy
skipsdist=True

[testenv]
# flake8 versions should be kept in sync across tools/tox.ini, tools/wpt/tox.ini, and tools/wptrunner/tox.ini
deps =
  flake8==3.5.0
  pycodestyle==2.3.1
  pyflakes==1.6.0
  pep8-naming==0.4.1
  pytest
  pytest-cov
  mock
  hypothesis
  pytest-catchlog

commands =
  pytest --cov {posargs}
  flake8

passenv =
  HYPOTHESIS_PROFILE

[flake8]
# flake8 config should be kept in sync across tools/tox.ini, tools/wpt/tox.ini, and tools/wptrunner/tox.ini
select = E,W,F,N
# E128: continuation line under-indented for visual indent
# E129: visually indented line with same indent as next logical line
# E221: multiple spaces before operator
# E226: missing whitespace around arithmetic operator
# E231: missing whitespace after ‘,’, ‘;’, or ‘:’
# E251: unexpected spaces around keyword / parameter equals
# E265: block comment should start with ‘# ‘
# E302: expected 2 blank lines, found 0
# E303: too many blank lines (3)
# E305: expected 2 blank lines after end of function or class
# E402: module level import not at top of file
# E731: do not assign a lambda expression, use a def
# E901: SyntaxError or IndentationError
# W601: .has_key() is deprecated, use ‘in’
# F401: module imported but unused
# F403: ‘from module import *’ used; unable to detect undefined names
# F405: name may be undefined, or defined from star imports: module
# F841: local variable name is assigned to but never used
# N801: class names should use CapWords convention
# N802: function name should be lowercase
ignore = E128,E129,E221,E226,E231,E251,E265,E302,E303,E305,E402,E731,E901,W601,F401,F403,F405,F841,N801,N802
max-line-length = 141
exclude = .tox,html5lib,third_party/py,third_party/pytest,third_party/funcsigs,third_party/attrs,third_party/pluggy/,pywebsocket,six,_venv,webencodings,wptserve/docs,wptserve/tests/functional/docroot/,wpt,wptrunner
back to top