Giter VIP home page Giter VIP logo

conda-project's Introduction

Conda Project

codecov pre-commit.ci status

Tool for encapsulating, running, and reproducing projects with Conda environments

This package is intended as a successor to Anaconda Project. Please continue to use Anaconda Project until it has been delcared deprecated and Conda Project has stabilized.

Setup for development

To setup conda-project for development, first install Miniconda, then

  1. Clone this repository.
  2. Create a development environment using the environment.yml file in this repository
    conda env create -p ./env
    
  3. Install conda-project as editable in the env by activating the environment first
    conda activate ./env
    pip install -e .
    

Tests

To run tests you can either activate the env and run pytest

conda activate ./env
pytest

or use conda run

conda run --no-capture-output -p ./env pytest

Linting

This project uses pre-commit to aid with linting. Pre-Commit is configured to run

This repository is configured with Pre-Commit.ci, which will automatically fix Pull Requests to comply with the above linters.

The pre-commit Conda package is included in the development environment.yml file. To install the hooks in your local clone run

conda run --no-capture-output -p ./env pre-commit install

Once configured the pre-commit hooks are run automatically, but you can run them manually with

conda run --no-capture-output -p ./env pre-commit run --all-files

conda-project's People

Contributors

albertdefusco avatar jezdez avatar mattkram avatar pre-commit-ci[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.