Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Skip files listed in .gitignore

See original GitHub issue

I ran ssort at the root of my project and it started sorting the files in my venv directory. (incidentally, this threw on venv/lib/python3.10/site-packages/blib2to3/pgen2/

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

bwhmathercommented, Mar 17, 2022

Released as part of 0.11.3. Thank you @jgberry

bwhmathercommented, Mar 16, 2022

Let’s not go full npm, but I have no problem with pulling in pathspec. I would expect that 100% of people who install ssort will also install black, which means that if pathspec’s developer decides to start using it to mine bitcoin then the battle is already lost.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Make .gitignore ignore everything except a few files
After reading the gitignore documentation (here) i found out that if you exclude a folder first that the filenames in the subfolder are...
Read more >
gitignore Documentation - Git
A gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected; see the NOTES below...
Read more >
.gitignore File – How to Ignore Files and Folders in Git
Inside .gitignore , you can tell Git to ignore only a single file or a single folder by mentioning the name or pattern...
Read more >
Ignoring Files and Directories in Git (.gitignore) - Linuxize
The .gitignore file allows you to exclude files from being checked into the repository. It contains globbing patterns that describe which ...
Read more >
Git: Ignore Files with .gitignore - Stack Abuse
Committing Ignored Files · Tell Git to not ignore this file by prefixing the file name with a ! in .gitignore, i.e. !.env...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found