Switch CI scripts to Python 3

develop
lethosor 2020-06-30 00:29:30 -04:00
parent fedf68cc7c
commit c333059316
8 changed files with 12 additions and 0 deletions

@ -82,9 +82,14 @@ jobs:
if: success() || failure()
run: |
rm -rf "$DF_FOLDER"
lint:
runs-on: ubuntu-18.04
steps:
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: 3
- name: Install dependencies
run: |
sudo apt-get update

@ -1,3 +1,4 @@
#!/usr/bin/env python3
import argparse, os, sys, time
parser = argparse.ArgumentParser()

@ -1,3 +1,4 @@
#!/usr/bin/env python3
""" Overly-complicated script to check formatting/sorting in Authors.rst """
import re, sys

@ -1,3 +1,4 @@
#!/usr/bin/env python3
import glob
import sys

@ -1,3 +1,4 @@
#!/usr/bin/env python3
import re, os, sys
valid_extensions = ['c', 'cpp', 'h', 'hpp', 'mm', 'lua', 'rb', 'proto',

@ -1,3 +1,4 @@
#!/usr/bin/env python3
import argparse
import enum
import json

@ -1,3 +1,4 @@
#!/usr/bin/env python3
from __future__ import print_function
from io import open
import os

@ -1,3 +1,4 @@
#!/usr/bin/env python3
import argparse
import os
import subprocess