File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 254254
255255The simplest settings apply a particular action unconditionally to all warnings
256256emitted by a process (even those that are otherwise ignored by default):
257-
258- .nf
259- \- Wdefault # Warn once per call location
260- \- Werror # Convert to exceptions
261- \- Walways # Warn every time
262- \- Wall # Same as \- Walways
263- \- Wmodule # Warn once per calling module
264- \- Wonce # Warn once per Python process
265- \- Wignore # Never warn
266- .fi
267-
257+ .RS
258+ .TP
259+ .B \- Wdefault
260+ Warn once per call location
261+ .TP
262+ .B \- Werror
263+ Convert to exceptions
264+ .TP
265+ .B \- Walways
266+ Warn every time
267+ .TP
268+ .B \- Wall
269+ Same as \- Walways
270+ .TP
271+ .B \- Wmodule
272+ Warn once per calling module
273+ .TP
274+ .B \- Wonce
275+ Warn once per Python process
276+ .TP
277+ .B \- Wignore
278+ Never warn
279+ .RE
280+ .IP
268281The action names can be abbreviated as desired and the interpreter will resolve
269282them to the appropriate action name. For example,
270283.B \- Wi
You can’t perform that action at this time.
0 commit comments