Giter Site home page Giter Site logo

Comments (6)

onurtore avatar onurtore commented on May 28, 2024 1

I tried that as well, but still nothing happens. I will share the code

from isort.

DamienAllonsius avatar DamienAllonsius commented on May 28, 2024 1

with apt?!

I had this issue because I used an old version of isort.
It works with VERSION 5.13.2

pip install isort==5.13.2

from isort.

bp72 avatar bp72 commented on May 28, 2024

Hi!
It shouldn't be the case, isort . --profile black looks like a correct command.
Do you have a sample of the code where the problem can be reproduced?
Or do you have a traceback of the error?

from isort.

DamienAllonsius avatar DamienAllonsius commented on May 28, 2024

Hi @bp72 and @onurtore, I am facing the same issue:

VERSION 4.3.21

My command is:

$ isort src/model/* --profile=black
usage: isort.macos [-h] [-a ADD_IMPORTS] [-ac] [-af] [-b KNOWN_STANDARD_LIBRARY] [-c] [-ca] [-cs] [-d] [-df] [-ds] [-dt] [-e]
                   [-f KNOWN_FUTURE_LIBRARY] [-fas] [-fass] [-ff FROM_FIRST] [-fgw [FORCE_GRID_WRAP]] [-fss] [-i INDENT] [-j JOBS] [-k]
                   [-l LINE_LENGTH] [-lai LINES_AFTER_IMPORTS] [-lbt LINES_BETWEEN_TYPES] [-le LINE_ENDING] [-ls] [-m {0,1,2,3,4,5,6,7}] [-nis]
                   [-nlb NO_LINES_BEFORE] [-ns NOT_SKIP] [-o KNOWN_THIRD_PARTY] [-ot] [-p KNOWN_FIRST_PARTY] [-q] [-r] [-rm REMOVE_IMPORTS] [-rr]
                   [-rc] [-s SKIP] [-sd DEFAULT_SECTION] [-sg SKIP_GLOB] [-sl] [-sp SETTINGS_PATH] [-t FORCE_TO_TOP] [-tc] [-up] [-v] [-vb]
                   [--virtual-env VIRTUAL_ENV] [--conda-env CONDA_ENV] [-vn] [-w LINE_LENGTH] [-wl WRAP_LENGTH] [-ws] [-y] [--unsafe]
                   [--case-sensitive] [--filter-files]
                   [files ...]
isort.macos: error: unrecognized arguments: --profile=black

Any idea?

from isort.

onurtore avatar onurtore commented on May 28, 2024

I dont understand why, but i think it happens when you install it using apt.

from isort.

bp72 avatar bp72 commented on May 28, 2024

@onurtore do you still experience the issue? Can you provide an example for me to replicate?

from isort.

Related Issues (20)

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.