Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 935 Bytes

CONTRIBUTING.md

File metadata and controls

41 lines (29 loc) · 935 Bytes

Contributing to UrbanSim

Style

Imports

Imports should be one per line. Imports should be grouped into standard library, third-party, and intra-library imports. from import should follow "regular" imports. Within each group the imports should be alphabetized. Here's an example:

import sys
from glob import glob

import numpy as np

import urbansim.urbansim.modelcompile as modelcompile
from urbansim.util import misc

Imports of scientific Python libraries should follow these conventions:

import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import scipy as sp

Thanks!