Code Monkey home page Code Monkey logo

isort.novaextension's Introduction

isort Nova Extension

It’s a stand-alone Nova extension to use isort, a Python utility to sort imports .

Requirements

Before using the extension, it’s necessary to install isort itself if you don’t have one already.

isort can be installed simply by running pip install isort.

Configuration

The extension supports both global and workspace configurations. A workspace configuration always overrides a global one.

Options

There are three options available to configure: executable path, command arguments, and format on save. By default, the executable path is /usr/local/bin/isort, with no additional arguments, and formatting on saving is on.

You could alter the executable path if isort installed in a different place or if /usr/bin/env usage is desirable.

In the case of /usr/bin/env, it becomes the executable path, and isort becomes the first argument.

Also, there is a virtual environment path available as a workspace-only option. It’s just a handy alias for the --virtual-env command argument.

pyproject.toml

The extension respects pyproject.toml in a project directory. So, there’s no need to specify the --settings argument explicitly.

isort.novaextension's People

Contributors

aeron avatar minrk avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

minrk

isort.novaextension's Issues

Project specific settings

Could you add project specific settings? So one could have different isort settings for a project.

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.