-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingformatterRelated to the formatterRelated to the formatter
Milestone
Description
Given:
import random;
# Defaults for arguments are defined here
# args.threshold = None;
logger = logging.getLogger("FastProject");We're reformatting as:
# -*- coding: utf-8 -*-
import random
# Defaults for arguments are defined here
# args.threshold = None;
logger = logging.getLogger("FastProject")Formatted twice:
import random
# Defaults for arguments are defined here
# args.threshold = None;
logger = logging.getLogger("FastProject")--- Formatted once
+++ Formatted twice
@@ -3,5 +3,4 @@
# Defaults for arguments are defined here
# args.threshold = None;
-
logger = logging.getLogger("FastProject")(That is: removing a newline before logger =.)
This leads to an instability.
Sourced from #7590 (A_3703355012074323529.py).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingformatterRelated to the formatterRelated to the formatter