Code Monkey home page Code Monkey logo

Comments (3)

andreoliwa avatar andreoliwa commented on June 13, 2024

Hi @sobolevn.

Possible Solution

Use code in ignore check. All instances from the toml file must be present.
We can have more items in setup.cfg.

@andreoliwa what do you think?

I think this is already covered...
Did you try using comma_separated_values in your style?
https://nitpick.readthedocs.io/en/latest/setup_cfg.html#comma-separated-values

I tried here and it works.

Style:

["setup.cfg".flake8]
ignore = "D100,D104,D401,W504,RST303,RST304"

[nitpick.files."setup.cfg"]
comma_separated_values = ["flake8.ignore"]

setup.cfg:

[flake8]
ignore = D100, D104, D401, W504, RST303, RST304
  1. Spacing is not important in this case
  2. Ordering is also not important in this case. But it is checked right now.

Right now, spacing and order are already not considered.
But Nitpick will print the suggestion list without any spaces... I can think of some configuration for this in the future.

from nitpick.

sobolevn avatar sobolevn commented on June 13, 2024

Sorry, I have missed comma_separated_values part.

from nitpick.

andreoliwa avatar andreoliwa commented on June 13, 2024

No worries. 😉

Please reopen if the problem continues.

from nitpick.

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.