Skip to content

Commit

Permalink
Add format task
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Dec 24, 2016
1 parent f86abc0 commit 227587a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ end
task :doc => %i(html readme_usage)


task_in_venv :format, %w(autopep8) do
sh "autopep8 -i #{Dir.glob('**/*.py').join ' '}"
end


task :upload => %i(test clean) do
sh 'python3 setup.py sdist bdist_wheel'
sh 'twine upload dist/*'
Expand Down

0 comments on commit 227587a

Please sign in to comment.