2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-30 05:52:24 +01:00
waf/playground/pep8/wscript
2011-09-10 11:13:51 +02:00

27 lines
393 B
Python

#!/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')