lupin-danquin 1.0.2.dev0__tar.gz → 1.0.2.dev2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of lupin-danquin might be problematic. Click here for more details.

Files changed (32) hide show
  1. {lupin-danquin-1.0.2.dev0/lupin_danquin.egg-info → lupin-danquin-1.0.2.dev2}/PKG-INFO +1 -1
  2. lupin-danquin-1.0.2.dev2/lupin_danquin/__init__.py +1 -0
  3. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/core/tools/utils.py +8 -0
  4. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/run.py +5 -4
  5. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2/lupin_danquin.egg-info}/PKG-INFO +1 -1
  6. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/setup.cfg +1 -1
  7. lupin-danquin-1.0.2.dev0/lupin_danquin/__init__.py +0 -1
  8. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/LICENCE +0 -0
  9. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/MANIFEST.in +0 -0
  10. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/README.md +0 -0
  11. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/__main__.py +0 -0
  12. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/core/__init__.py +0 -0
  13. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/core/application.py +0 -0
  14. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/core/coding_rules_validator/__init__.py +0 -0
  15. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/core/coding_rules_validator/coging_rules_validator.py +0 -0
  16. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/core/global_variable.py +0 -0
  17. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/core/line_ended.py +0 -0
  18. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/core/local_variable.py +0 -0
  19. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/core/parameter.py +0 -0
  20. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/core/program.py +0 -0
  21. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/core/rules.py +0 -0
  22. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/core/tools/__init__.py +0 -0
  23. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/core/val3_doc_generator/__init__.py +0 -0
  24. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/core/val3_doc_generator/val3_doc_generator.py +0 -0
  25. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin/templates/val3_documentation_md.j2 +0 -0
  26. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin.egg-info/SOURCES.txt +0 -0
  27. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin.egg-info/dependency_links.txt +0 -0
  28. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin.egg-info/entry_points.txt +0 -0
  29. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin.egg-info/not-zip-safe +0 -0
  30. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin.egg-info/requires.txt +0 -0
  31. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/lupin_danquin.egg-info/top_level.txt +0 -0
  32. {lupin-danquin-1.0.2.dev0 → lupin-danquin-1.0.2.dev2}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lupin-danquin
3
- Version: 1.0.2.dev0
3
+ Version: 1.0.2.dev2
4
4
  Summary: Testing - Documentation
5
5
  License: MIT License
6
6
  Keywords: documentation,testing
@@ -0,0 +1 @@
1
+ __version__ = "1.0.2.dev2"
@@ -72,3 +72,11 @@ def find_usrapp_dir() -> str:
72
72
  if "usrapp" in dirnames:
73
73
  return os.path.join(dirpath, "usrapp")
74
74
  die(msg="'usrapp' directory not found")
75
+
76
+
77
+ def load_env_file():
78
+ dotenv_path = os.path.join(os.getcwd(), ".env")
79
+ if os.path.exists(dotenv_path):
80
+ return dotenv_path
81
+ else:
82
+ die(msg=".env file not found")
@@ -1,12 +1,12 @@
1
1
  from typing import Optional
2
- import os
3
2
 
4
- from dotenv import load_dotenv, find_dotenv
3
+ from dotenv import load_dotenv
5
4
  import typer
6
5
 
7
6
  from lupin_danquin.core.tools.utils import (
8
7
  configure_logging,
9
8
  convert_application_name_to_list,
9
+ load_env_file,
10
10
  read_file,
11
11
  )
12
12
 
@@ -17,9 +17,10 @@ from lupin_danquin.core.val3_doc_generator.val3_doc_generator import Val3Documen
17
17
  from lupin_danquin import __version__
18
18
 
19
19
 
20
- load_dotenv(find_dotenv())
21
- configure_logging()
20
+ env_file = load_env_file()
21
+ load_dotenv(dotenv_path=env_file)
22
22
 
23
+ configure_logging()
23
24
 
24
25
  cli = typer.Typer()
25
26
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lupin-danquin
3
- Version: 1.0.2.dev0
3
+ Version: 1.0.2.dev2
4
4
  Summary: Testing - Documentation
5
5
  License: MIT License
6
6
  Keywords: documentation,testing
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = lupin-danquin
3
- version = 1.0.2.dev0
3
+ version = 1.0.2.dev2
4
4
  description = Testing - Documentation
5
5
  long_description = Test VAL3 code and generate documentation from it
6
6
  keywords = documentation, testing
@@ -1 +0,0 @@
1
- __version__ = "1.0.2.dev0"