Skip to content

Commit

Permalink
Adjusted readme
Browse files Browse the repository at this point in the history
  • Loading branch information
HaaLeo committed Nov 25, 2018
1 parent a8f9d3a commit eb9a81f
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,30 @@ When the `file-header` setting is omitted, pylint will pass.

### Setup

`.pylintrc`:
* **.pylintrc**:

```pylintrc
[MASTER]
load-plugins=pylintfileheader
```pylintrc
[MASTER]
load-plugins=pylintfileheader
file-header=# -----------------------------------------------\n# Copyright (c) Leo Hanisch. All rights reserved.\n# -----------------------------------------------
```

`valid_example.py`:
file-header=# -----------------------------------------------\n# Copyright (c) Leo Hanisch. All rights reserved.\n# -----------------------------------------------
```

```python
# -----------------------------------------------
# Copyright (c) Leo Hanisch. All rights reserved.
# -----------------------------------------------
* **valid_example.py**:

print('I am a valid example')
```
```python
# -----------------------------------------------
# Copyright (c) Leo Hanisch. All rights reserved.
# -----------------------------------------------

print('I am a valid example')
```

`invalid_example.py`:
* **invalid_example.py**:

```python
print('I am an invalid example')
```
```python
print('I am an invalid example')
```

### Evaluation

Expand Down

0 comments on commit eb9a81f

Please sign in to comment.