Skip to content

Commit

Permalink
update: pylint score and readablilty
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboycodr committed Feb 22, 2022
1 parent 2c80ae1 commit 05c1413
Show file tree
Hide file tree
Showing 12 changed files with 296 additions and 159 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')
pylint choam
8 changes: 7 additions & 1 deletion Choam.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name = "Choam"
version = "0.1.25"
description = "Python project scaffolder/manager"
repo = "https://github.com/cowboycodr/choam"
keywords = [ "package", "manager",]

[modules-ignore]
shutil = "*"
Expand All @@ -23,6 +22,7 @@ findimports = "*"
[modules-dev]
black = "*"
requests = "*"
pylint = "*"

[script.install-reqs]
perspective = "."
Expand All @@ -39,3 +39,9 @@ description = "Prints a motivational quote from zenquotes.io"
requires = [ "requests",]
perspective = ".choam${SEP}scripts${SEP}motivation"
command = "${PYTHON} get_quote.py"

[script.lint]
description = "Lint Project files with PyLint"
requires = [ "pylint",]
perspective = "."
command = "${PYTHON} -m pylint ${PROJECT}"
4 changes: 4 additions & 0 deletions choam/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
'''
Choam
'''

from choam.choam import main
7 changes: 7 additions & 0 deletions choam/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
'''
Choam's main entrypoint
Choam is a python project manager that provides the ability
to manage dependencies, easy configruation, setup, and publication.
'''

from choam.choam import main

if __name__ == "__main__":
Expand Down
Loading

0 comments on commit 05c1413

Please sign in to comment.