Giter Site home page Giter Site logo

.codespellrc file doesn't work about codespell HOT 8 CLOSED

jcubic avatar jcubic commented on August 16, 2024
.codespellrc file doesn't work

from codespell.

Comments (8)

jcubic avatar jcubic commented on August 16, 2024 1

ok, I've found the error I had missing comma, I've deleted assets directory in same time. A silly mistake. Sorry for the trouble. The tools is great, thanks for creating it.

from codespell.

DimitriPapadopoulos avatar DimitriPapadopoulos commented on August 16, 2024

How doesn't it work? Please change the video into a static attached log, I cannot read anything on the video.

from codespell.

jcubic avatar jcubic commented on August 16, 2024

It process node_module directory that is in skip:

this is part of the log:

./node_modules/@puppeteer/browsers/lib/cjs/fileUtil.js.map:1: AAdD ==> add
./node_modules/@puppeteer/browsers/lib/cjs/fetch.js.map:1: EACf ==> each
./node_modules/@puppeteer/browsers/lib/cjs/fetch.js.map:1: EACf ==> each
./node_modules/@puppeteer/browsers/lib/cjs/launcher.js.map:1: EACf ==> each
./node_modules/@puppeteer/browsers/lib/cjs/launcher.js.map:1: EACf ==> each
./node_modules/@puppeteer/browsers/lib/cjs/launcher.js.map:1: EACf ==> each
./node_modules/@puppeteer/browsers/lib/cjs/launcher.js.map:1: CACH ==> CATCH, CACHE
./node_modules/@puppeteer/browsers/lib/cjs/launcher.js.map:1: CACL ==> CALC
./node_modules/@puppeteer/browsers/lib/cjs/launcher.js.map:1: CACL ==> CALC
./node_modules/@puppeteer/browsers/lib/cjs/CLI.js.map:1: CACL ==> CALC
./node_modules/@puppeteer/browsers/lib/cjs/CLI.js.map:1: DAA ==> DATA

This also doesn't work: codespell --config .codespellrc it processes node_modules.

This is my config file:

[codespell]
skip = "./node_modules*,./assets/*,./dist/*,./package-lock.json,./lib/srfi/*"

from codespell.

DimitriPapadopoulos avatar DimitriPapadopoulos commented on August 16, 2024

This works for me:

[codespell]
skip = ./node_modules*,./assets/*,./dist/*,./package-lock.json,./lib/srfi/*

from codespell.

DimitriPapadopoulos avatar DimitriPapadopoulos commented on August 16, 2024
$ cat .codespellrc 
[codespell]
skip = ./node_modules*,./assets/*,./dist/*,./package-lock.json,./lib/srfi/*
$ 
$ cat node_modules/fileUtil.js.map 
AAdD
$ 
$ codespell
$ 
$ rm .codespellrc 
$ 
$ codespell 
./node_modules/fileUtil.js.map:1: AAdD ==> add
$ 

from codespell.

jcubic avatar jcubic commented on August 16, 2024

It doesn't work on my Fedora. Do you have codespell installed from pip, or do you execute it from source?

from codespell.

DimitriPapadopoulos avatar DimitriPapadopoulos commented on August 16, 2024

Have you seen the difference between our .codspellrc files? My post was unclear, I actually changed the .codespellrc file.

from codespell.

jcubic avatar jcubic commented on August 16, 2024

Yes I've seen the quotes

from codespell.

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.