File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # EditorConfig is awesome: https://EditorConfig.org
2+
3+ # top-most EditorConfig file
4+ root = true
5+
6+ # All files
7+ [* ]
8+ charset = utf-8
9+ end_of_line = lf
10+ insert_final_newline = true
11+ trim_trailing_whitespace = true
12+
13+ # Python files
14+ [* .py ]
15+ indent_style = space
16+ indent_size = 4
17+ max_line_length = 100
18+
19+ # YAML files
20+ [* .{yml,yaml} ]
21+ indent_style = space
22+ indent_size = 2
23+
24+ # JSON files
25+ [* .json ]
26+ indent_style = space
27+ indent_size = 2
28+
29+ # Markdown files
30+ [* .md ]
31+ trim_trailing_whitespace = false
32+ max_line_length = off
33+
34+ # Makefile
35+ [Makefile ]
36+ indent_style = tab
37+
38+ # Shell scripts
39+ [* .sh ]
40+ indent_style = space
41+ indent_size = 2
42+
43+ # Docker files
44+ [Dockerfile* ]
45+ indent_style = space
46+ indent_size = 2
47+
48+ # GitHub Actions
49+ [.github/workflows/* .yml ]
50+ indent_style = space
51+ indent_size = 2
Original file line number Diff line number Diff line change @@ -1098,7 +1098,10 @@ async def mock_attempt_compression(
10981098 with patch .object (
10991099 video_compressor , "_attempt_compression" , side_effect = mock_attempt_compression
11001100 ):
1101- with patch ("utils.video_compression.get_file_size_mb" , side_effect = mock_get_file_size_mb ):
1101+ with patch (
1102+ "utils.video_compression.get_file_size_mb" ,
1103+ side_effect = mock_get_file_size_mb ,
1104+ ):
11021105 result = await video_compressor .compress_if_needed (temp_path , 50 )
11031106
11041107 # Should have tried multiple quality levels
You can’t perform that action at this time.
0 commit comments