wemake-python-styleguide icon indicating copy to clipboard operation
wemake-python-styleguide copied to clipboard

setup.cfg ignored when using GitHub action in subfolder

Open edmondop opened this issue 2 years ago • 3 comments

What's wrong

When you have a multi-module repo, you might have your Python code located in a subfolder, together with its setup.cfg.

Now, you are tempted to use this syntax

    - name: wemake-python-styleguide
      uses: wemake-services/[email protected]
      with:
        reporter: 'github-pr-check'
        path: './my_subfolder/my_subfolder_2'

However the setup.cfg in my_subfolder_2 is ignored

How it should be

You should not copy the setup.cfg within the working dir

Flake8 version and plugins

0.16.1 github action

pip information

?

OS information

?

edmondop avatar Aug 08 '22 19:08 edmondop

I think i can fix this bug can you assign it to me ?

Jatinjain07Dazai avatar Oct 06 '23 18:10 Jatinjain07Dazai

Sure, go ahead!

sobolevn avatar Oct 06 '23 18:10 sobolevn

Hey can you give instruction to reproduce this bug i am unable to observe it.

Jatinjain07Dazai avatar Oct 08 '23 05:10 Jatinjain07Dazai