Project

General

Profile

Task #1556

Document Python os calls

Added by Luke Murphey about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/06/2016
Due date:
% Done:

0%


Description

Document why these exist for app-certification:

Python file standards
    Check that Python scripts use OS-safe paths (NOT Windows-specific or
    *nix-specific paths). Whenever possible use os.path.
        MANUAL_CHECK: Files will be reviewed during code review.
    Check for the use of subprocess and OS command calls in Python.
        MANUAL_CHECK: The following line will be inspected during code
            review. Match: import os File: appserver/controllers/lookup_edit.py
            Line Number: 2
        MANUAL_CHECK: The following line will be inspected during code
            review. Match: shutil.move File:
            appserver/controllers/lookup_edit.py Line Number: 442
        MANUAL_CHECK: The following line will be inspected during code
            review. Match: import os File: bin/lookupfiles.py Line Number: 11

Also available in: Atom PDF