DistributedScience / Distributed-CellProfiler

Run encapsulated docker containers with CellProfiler in the Amazon Web Services infrastructure.
https://distributedscience.github.io/Distributed-CellProfiler/
Other
37 stars 24 forks source link

Python 3 treats TabErrors as syntax errors #83

Closed cclauss closed 3 years ago

cclauss commented 5 years ago

flake8 testing of https://github.com/CellProfiler/Distributed-CellProfiler on Python 3.6.3

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./fabfile.py:182:73: E999 TabError: inconsistent use of tabs and spaces in indentation
    local('aws ecs create-cluster --cluster-name '+ECS_CLUSTER,capture=True)
                                                                        ^
./run.py:43:31: E999 TabError: inconsistent use of tabs and spaces in indentation
        subprocess.Popen(cmd.split())
                              ^
./worker/cp-worker.py:79:46: E999 TabError: inconsistent use of tabs and spaces in indentation
    subDirName=os.path.join(DATA_ROOT,eachSubDir)
                                             ^
3     E999 TabError: inconsistent use of tabs and spaces in indentation
3
bethac07 commented 3 years ago

All tabs have now been converted to spaces.