2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-01 14:31:55 +01:00
waf/playground/pep8/wscript

27 lines
393 B
Plaintext
Raw Normal View History

2011-09-10 11:13:51 +02:00
#!/usr/bin/env python
# encoding: utf-8
from waflib.TaskGen import extension
top = '.'
out = 'build'
@extension('.py', 'wscript')
def check_syntax(self, node):
self.create_task('Pep8', node)
def options(opt):
opt.load('pep8')
def configure(conf):
# warning after this comment
conf.load('pep8')
def build(bld):
bld(source='wscript')