git-batch 3.0.0__tar.gz → 3.0.2__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.1
2
2
  Name: git-batch
3
- Version: 3.0.0
3
+ Version: 3.0.2
4
4
  Summary: Clone single branch from all repositories listed in a file.
5
5
  Home-page: https://github.com/thegeeklab/git-batch/
6
6
  License: MIT
@@ -1,3 +1,3 @@
1
1
  """Default package."""
2
2
 
3
- __version__ = "3.0.0"
3
+ __version__ = "3.0.2"
@@ -134,7 +134,7 @@ class GitBatch:
134
134
  path,
135
135
  repo["dest"],
136
136
  ignore=shutil.ignore_patterns(".git"),
137
- dirs_exist_ok=self.config["ignore_existing"]
137
+ dirs_exist_ok=self.config["ignore_existing"],
138
138
  )
139
139
  except FileExistsError:
140
140
  self._file_exist_handler()
@@ -93,9 +93,7 @@ class Log:
93
93
  handler.addFilter(LogFilter(logging.WARNING))
94
94
  handler.setFormatter(
95
95
  MultilineFormatter(
96
- self.warning(
97
- CONSOLE_FORMAT.format(colorama.Fore.YELLOW, colorama.Style.RESET_ALL)
98
- )
96
+ self.warning(CONSOLE_FORMAT.format(colorama.Fore.YELLOW, colorama.Style.RESET_ALL))
99
97
  )
100
98
  )
101
99
 
@@ -26,7 +26,7 @@ def strtobool(value):
26
26
  "f": False,
27
27
  "false": False,
28
28
  "off": False,
29
- "0": False
29
+ "0": False,
30
30
  }
31
31
 
32
32
  try:
@@ -32,7 +32,7 @@ packages = [
32
32
  ]
33
33
  readme = "README.md"
34
34
  repository = "https://github.com/thegeeklab/git-batch/"
35
- version = "3.0.0"
35
+ version = "3.0.2"
36
36
 
37
37
  [tool.poetry.dependencies]
38
38
  GitPython = "3.1.40"
@@ -44,25 +44,17 @@ python-json-logger = "2.0.7"
44
44
  git-batch = "gitbatch.cli:main"
45
45
 
46
46
  [tool.poetry.group.dev.dependencies]
47
- ruff = "0.1.4"
48
- pytest = "7.4.3"
47
+ ruff = "0.1.11"
48
+ pytest = "7.4.4"
49
49
  pytest-mock = "3.12.0"
50
50
  pytest-cov = "4.1.0"
51
51
  toml = "0.10.2"
52
- yapf = "0.40.2"
53
52
 
54
53
  [tool.poetry-dynamic-versioning]
55
54
  enable = false
56
55
  style = "semver"
57
56
  vcs = "git"
58
57
 
59
- [tool.isort]
60
- default_section = "THIRDPARTY"
61
- force_single_line = true
62
- line_length = 99
63
- sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
64
- skip_glob = ["**/.env*", "**/env/*", "**/.venv/*", "**/docs/*"]
65
-
66
58
  [tool.pytest.ini_options]
67
59
  addopts = "gitbatch --cov=gitbatch --cov-report=xml:coverage.xml --cov-report=term --no-cov-on-fail"
68
60
  filterwarnings = [
@@ -91,6 +83,10 @@ exclude = [
91
83
  ".eggs",
92
84
  "env*",
93
85
  ]
86
+
87
+ line-length = 99
88
+ indent-width = 4
89
+
94
90
  # Explanation of errors
95
91
  #
96
92
  # D102: Missing docstring in public method
@@ -111,7 +107,6 @@ ignore = [
111
107
  "UP038",
112
108
  "RUF012",
113
109
  ]
114
- line-length = 99
115
110
  select = [
116
111
  "D",
117
112
  "E",
@@ -134,14 +129,7 @@ select = [
134
129
  "RUF",
135
130
  ]
136
131
 
137
- [tool.ruff.flake8-quotes]
138
- inline-quotes = "double"
139
-
140
- [tool.yapf]
141
- based_on_style = "google"
142
- column_limit = 99
143
- dedent_closing_brackets = true
144
- coalesce_brackets = true
145
- split_before_logical_operator = true
146
- indent_dictionary_value = true
147
- allow_split_before_dict_value = false
132
+ [tool.ruff.format]
133
+ quote-style = "double"
134
+ indent-style = "space"
135
+ line-ending = "lf"
File without changes
File without changes