Skip to content

[BUG] Lint ignore does not ignore path #188

@oneumyvakin

Description

@oneumyvakin

Describe the bug
The project root folder has a sub-folder with restrictive permissions, "easyp lint" still tries to walk the sub-folder even the sub-folder path in "ignore" list.

To Reproduce
Steps to reproduce the behaviour:
1.

 cat easyp.yaml | head -7
lint:
    use:
        - DEFAULT
    enum_zero_value_suffix: _NONE
    service_suffix: API
    ignore:
      - .data/
ls -ld .data/18/docker
drwx------ 19 dnsmasq username 4096 Dec 28 22:02 .data/18/docker
  1. Execute command 'easyp lint'
  2. Observe the error
easyp lint 
time=2025-12-31T13:54:34.012+07:00 level=INFO msg="c.Lint: fs.WalkDir: open .data/18/docker: permission denied"

Expected behavior
easyp lint not fails because the ".data" path is ignored.

Desktop (please complete the following information):

  • OS: Linux
  • easyp version: v0.12.0

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions