Skip to content

Commit

Permalink
Pylint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
willtheorangeguy committed Dec 4, 2023
1 parent 979cd65 commit f687b3b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Initialize PyPI Package
"""Initialize PyPI Package"""
# pylint: disable=locally-disabled, invalid-name, import-error

__all__ = ["main"]
2 changes: 2 additions & 0 deletions __main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Run program from main."""

from main import main

if __name__ == "__main__":
Expand Down
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
# pylint: disable=locally-disabled, invalid-name

# Running Calculator
import sys

Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Project Requirements

pytest
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
"""Setup file for Rrunning-Calculator."""
from setuptools import setup


def readme():
"""Read the README.md file."""
with open("README.md") as f:
with open("README.md", encoding="utf-8") as f:
return f.read()


Expand Down

0 comments on commit f687b3b

Please sign in to comment.