bcpkgfox 0.16.38__tar.gz → 0.16.39__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.38
3
+ Version: 0.16.39
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -510,7 +510,7 @@ class cli:
510
510
  print(f" {self.visuals.bold}{self.visuals.YL} - {lib} {self.visuals.RESET}")
511
511
 
512
512
  def main(self, return_=False):
513
- self.target_file = self.cli.file #FIX
513
+ self.target_file = self.cli.file
514
514
 
515
515
  if not self.target_file:
516
516
  print(f"{self.visuals.bold}{self.visuals.RD} > Error: Please pass your 'target_file' to detect the libraries.{self.visuals.RESET}")
@@ -839,7 +839,7 @@ class cli:
839
839
  imports_lower = {imp.lower() for imp in imports}
840
840
  with open(f'{name}', 'w') as f:
841
841
  for line in lines:
842
- if line.lower() in imports_lower:
842
+ if imports_lower in line.lower():
843
843
  f.write(line)
844
844
 
845
845
  def main(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.38
3
+ Version: 0.16.39
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="bcpkgfox",
5
- version="0.16.38",
5
+ version="0.16.39",
6
6
  author="Guilherme Neri",
7
7
  author_email="guilherme.neri@bcfox.com.br",
8
8
  description="Biblioteca BCFOX",
File without changes
File without changes
File without changes