Doveps / mono

Code for Doveps projects
http://doveps.com
MIT License
0 stars 0 forks source link

Test code #35

Closed JosiahRegencia closed 7 years ago

JosiahRegencia commented 7 years ago

This is for issue #30 Merged this with hard_coded branch and also master.

greenmoss commented 7 years ago

Can you merge this branch fixes into #30? Or does this replace #30?

JosiahRegencia commented 7 years ago

It replaces #30

greenmoss commented 7 years ago

Fixes #29

JosiahRegencia commented 7 years ago

Yeah. That's what it is.

greenmoss commented 7 years ago

The path hard-codings are gone, so 👍

Still need to read the DB settings from a non-git config file: savant/app/run_sql.py#L7

(EDIT: was "get rid of")

greenmoss commented 7 years ago

Also please ensure you are always using 4 spaces for indent.

See

etc

You can update your editor to set that configuration.

JosiahRegencia commented 7 years ago

Still need to read the DB settings from a non-git config file: savant/app/run_sql.py#L7

I don't get this part

JosiahRegencia commented 7 years ago

My tab_size has already been set to 4 spaces by default.

greenmoss commented 7 years ago

There are still a bunch of *.py files with tabs:

$ find . -name '*.py' | xargs grep -rl '\t'
./app/base_path.py
./app/check_exists.py
./app/comparison.py
./app/get_scanned.py
./app/record.py
./app/results.py
./app/run_sql.py
./app/store_data.py
./tests/test_basic.py

I checked the Travis tests, the mixed spaces/tabs is causing the test failure.

JosiahRegencia commented 7 years ago

Ran the command you gave me on vim. Although, find . -name '*.py' | xargs grep -rl '\t' still outputs the files. But I can see the difference in indents in the commits, though

greenmoss commented 7 years ago

There are a few remaining tabs:

https://github.com/Doveps/mono/pull/35/files#diff-e86e3a52272382f82b6b21af21658398R10

line 10-15