meier/startracker #38
@ -6,9 +6,9 @@
|
|||||||
<envs>
|
<envs>
|
||||||
<env name="PYTHONUNBUFFERED" value="1" />
|
<env name="PYTHONUNBUFFERED" value="1" />
|
||||||
</envs>
|
</envs>
|
||||||
<option name="SDK_HOME" value="C:\Users\EIVE_Reinraumrechner\EIVE-Software-Q7S\eive-obsw\tmtc\Scripts\python.exe" />
|
<option name="SDK_HOME" value="" />
|
||||||
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
|
||||||
<option name="IS_MODULE_SDK" value="false" />
|
<option name="IS_MODULE_SDK" value="true" />
|
||||||
<option name="ADD_CONTENT_ROOTS" value="true" />
|
<option name="ADD_CONTENT_ROOTS" value="true" />
|
||||||
<option name="ADD_SOURCE_ROOTS" value="true" />
|
<option name="ADD_SOURCE_ROOTS" value="true" />
|
||||||
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
|
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
|
||||||
|
7
lint.py
7
lint.py
@ -11,8 +11,11 @@ def main():
|
|||||||
)
|
)
|
||||||
additional_flags_both_steps = "--count --statistics"
|
additional_flags_both_steps = "--count --statistics"
|
||||||
additional_flags_first_step = "--select=E9,F63,F7,F82 --show-source"
|
additional_flags_first_step = "--select=E9,F63,F7,F82 --show-source"
|
||||||
|
python_exe = ""
|
||||||
|
if os.name == "nt":
|
||||||
|
python_exe = "py -m"
|
||||||
flake8_first_step_cmd = (
|
flake8_first_step_cmd = (
|
||||||
f"flake8 . {additional_flags_both_steps} "
|
f"{python_exe} flake8 . {additional_flags_both_steps} "
|
||||||
f"{additional_flags_first_step} {exclude_dirs_flag}"
|
f"{additional_flags_first_step} {exclude_dirs_flag}"
|
||||||
)
|
)
|
||||||
status = os.system(flake8_first_step_cmd)
|
status = os.system(flake8_first_step_cmd)
|
||||||
@ -29,7 +32,7 @@ def main():
|
|||||||
if not os.path.exists("setup.cfg"):
|
if not os.path.exists("setup.cfg"):
|
||||||
additional_flags_second_step += " --max-line-length=100"
|
additional_flags_second_step += " --max-line-length=100"
|
||||||
flake8_second_step_cmd = (
|
flake8_second_step_cmd = (
|
||||||
f"flake8 . {additional_flags_both_steps} {additional_flags_second_step}"
|
f"{python_exe} flake8 . {additional_flags_both_steps} {additional_flags_second_step}"
|
||||||
f" {exclude_dirs_flag}"
|
f" {exclude_dirs_flag}"
|
||||||
)
|
)
|
||||||
os.system(flake8_second_step_cmd)
|
os.system(flake8_second_step_cmd)
|
||||||
|
@ -95,6 +95,9 @@ class FileDefs:
|
|||||||
)
|
)
|
||||||
q7s_ground_config = "/mnt/sd0/startracker/json/ground-config.json"
|
q7s_ground_config = "/mnt/sd0/startracker/json/ground-config.json"
|
||||||
q7s_flight_config = "/mnt/sd0/startracker/flight-config.json"
|
q7s_flight_config = "/mnt/sd0/startracker/flight-config.json"
|
||||||
|
firmware2_1 = "/home/pi/arcsec/firmware/sagitta-2-1.bin"
|
||||||
|
firmware22_1 = "/home/pi/arcsec/firmware/sagitta-22-1.bin"
|
||||||
|
firmware_origin = "/home/pi/arcsec/firmware/sagitta-origin.bin"
|
||||||
|
|
||||||
|
|
||||||
json_dict = {
|
json_dict = {
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 8580a08e9876efc542e19dc957f220be3b250dc8
|
Subproject commit 0039a0ec67217765b9dabfbc35dcb34b6ff81c08
|
2
tmtccmd
2
tmtccmd
@ -1 +1 @@
|
|||||||
Subproject commit f7bbf4bd9f6dc169a8b9e6a76fa9ef0aceb341d4
|
Subproject commit 49cf288831216c0680aedab88e31d684ba5b8da8
|
Loading…
Reference in New Issue
Block a user