Skip to content

Commit

Permalink
[build] add tasks to lint Python & Ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jan 7, 2024
1 parent 886cdf5 commit b0f42c3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,11 @@ namespace :py do

Rake::Task['py:changelog'].invoke
end

desc 'Update Python Syntax'
task :lint do
`tox -c py/tox.ini -e linting`
end
end

def ruby_version
Expand Down Expand Up @@ -703,6 +708,11 @@ namespace :rb do
Rake::Task['rb:changelog'].invoke unless new_version.include?('nightly')
sh 'cd rb && bundle update'
end

desc 'Update Ruby Syntax'
task :lint do
`cd rb && bundle exec rubocop -a`
end
end

def dotnet_version
Expand Down

0 comments on commit b0f42c3

Please sign in to comment.