Installation via Conda package manager
$ conda create -n ase_state_env python=3.7 pip -y
$ git clone https://github.com/uedar/ase-state-interface.git
$ conda activate ase_state_env
$ pip install ase-state-interface
Setup developer environment using Conda
# Needs python3.6, ase for maximum compatability
# needs Proper linting tools (flake8 pydocstyle pylint autopep8) for compliance
# Create conda environment:
$ conda install -n dev -c conda-forge python=3.6 tk flask pylint flake8 ase=3.22 pytest=5.2 jupyterlab autopep8 pydocstyle
Visual Studio Code (vscode) python linting configuration
- flake8, pylint and pydocstyle will be used together.
STEPS:
- File > Preferences > Settings > Workspace
- Search 'python'
- Click 'Edit in settings.json'
- Add the following code
{
"python.linting.flake8Enabled": true,
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
"python.linting.pydocstyleEnabled": true
}
- Save and restart
Code-style Compliance checklist