Skip to content

Commit

Permalink
[py] Fix crazy-fun targets for relocation of tox.ini [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
davehunt committed Feb 7, 2017
1 parent 21eac6d commit 4b6a297
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rake-tasks/crazy_fun/mappings/python.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def handle(fun, dir, args)
task_name = "#{base_task_name}:run"
task task_name => deps do
python_version = ENV['pyversion'] || "py27"
tox_args = ['tox', '-r']
tox_args = ['tox', '-c', 'py/tox.ini', '-r']
drivers.each do |driver|
tox_args += ['-e', "#{python_version}-#{driver}".downcase]
tox_args += ["--"]
Expand All @@ -83,7 +83,7 @@ def handle(fun, dir, args)
class GenerateDocs < Tasks
def handle(fun, dir, args)
task Tasks.new.task_name(dir, args[:name]) do
sh "tox -e docs", :verbose => true
sh "tox -c py/tox.ini -e docs", :verbose => true
end
end
end
Expand Down

0 comments on commit 4b6a297

Please sign in to comment.