Skip to content

Commit

Permalink
Remove mentions of pylint (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
gouline authored Aug 30, 2024
1 parent 2a69d87 commit f61acd4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@ Create a new orchestration file, e.g. `build.py` for a build orchestration. Make

```py
#!/usr/bin/env python3
from molot import * # pylint: disable=wildcard-import,unused-wildcard-import
from molot import *

# Your targets and environment arguments here

evaluate()
```

Pylint comment silences editor warnings about wildcard imports, you can alternatively import everything individually.

Now you're ready to run the build script to see the help message:

```shell
Expand Down
2 changes: 1 addition & 1 deletion examples/packager/build.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
from molot import * # pylint: disable=wildcard-import,unused-wildcard-import
from molot import *

CREATE_DIST = envarg_bool(
"CREATE_DIST",
Expand Down
2 changes: 1 addition & 1 deletion examples/packager/function.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json


def handler(event, context): # pylint: disable=unused-argument
def handler(event, context):
with open("config.json", "rb") as f:
config = json.load(f)
return config.get("version")
1 change: 0 additions & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# pylint: disable=protected-access
import logging
import os
from pathlib import Path
Expand Down

0 comments on commit f61acd4

Please sign in to comment.