Exclude specific file from the "Inspect Code.." / Python inspection

Hello pyCharmers,

 

I need to exclude the README.md file from the python inspections.

Code example:

--------------------------

## Needs fixing:
- Use type annotations for python 3.5.

Used:

```python
def file_from(url, filename):
return None
```

--------------------------

The inspection results throw a lot of warnings, I want to use a pattern file or exclude this specific file for the Python Inspections.

 

If I delete python for the code quotes, obviously the inspector don't recognize this lines like a Python code but in my Git hub don't show the code like a python.

```
def file_from(url, filename):
return None
```

 

I saw a video about how to create a scope but it's not that I'm looking just because I don't want to change the scope every time I run the inspections.

All VladLuchansky's Items > Custom scope creation > scope_creation
http://www.screencast.com/t/38SUjNUl

0

Please sign in to leave a comment.