Repository: Vlek/roll-cli (language: python)

Issue:
Remove unnecessary dotfiles for linters/config
I am currently using a bunch of linters on my vim by default using a different environment which has led me to put some extra dotfiles into the project to quiet the noise. I need to take a look at all of what's present and get it down to what I'm actually using for the project. I believe some of the configuration files may also not be necessary and require looking in to.

In order to fix this properly, poetry needs to be used first and implemented correctly.


Discussion / hints:

Fix patch:
diff --git a/mypy.ini b/mypy.ini
deleted file mode 100644
index e9e829f..0000000
--- a/mypy.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[mypy-pytest.*]
-ignore_missing_imports = True
diff --git a/pyproject.toml b/pyproject.toml
index 39aa2e8..8880641 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -19,7 +19,6 @@ typing_extensions = "^3.7.4"
 toml = "^0.10.1"
 pyparsing = "^2.4.7"
 click = "^7.1.2"
-parsley = "^1.3"
 
 [tool.poetry.dev-dependencies]
 pytest = "^5.4.2"


Test patch:
diff --git a/tests/test_click.py b/tests/test_click.py
index 5484745..5408363 100644
--- a/tests/test_click.py
+++ b/tests/test_click.py
@@ -22,14 +22,14 @@ def test_verbose_output():
     result = runner.invoke(roll_cli, ["4d6", "-v"])
     print(result.output)
     assert result.exit_code == 0
-    assert int(result.output.split()[-1]) in range(4, 22)
     assert "4d6: [" in result.output
+    assert int(result.output.split()[-1]) in range(4, 25)
 
 
 def test_verbose_ouput_mult_dice():
     result = runner.invoke(roll_cli, ["4d6 + 5d10", "-v"])
     print(result.output)
     assert result.exit_code == 0
-    assert int(result.output.split()[-1]) in range(5, 51)
     assert "4d6: [" in result.output
     assert "5d10: [" in result.output
+    assert int(result.output.split()[-1]) in range(9, 75)