Files
OpenUxAS-bootstrap/lib/anod/paths.py
M. Anthony Aiello 8737b1d748 Feature/style checks (#45)
Support pre-commit checks used in AdaCore/e3-core

These are a good example of best style practices for python projects. Adding the associated badges to the README (even though it needs to be rewritten) so the commit is complete and consistent.

Documentation of how to set up and run the checks is in CONTRIBUTING.md
2020-06-23 09:54:41 -04:00

9 lines
221 B
Python

import os
__ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
REPO_DIR = os.path.realpath(os.path.join(__ROOT_DIR, "..", "..",))
SPEC_DIR = os.path.join(REPO_DIR, "specs",)
SBX_DIR = os.path.join(REPO_DIR, "sbx",)