cisco.asa icon indicating copy to clipboard operation
cisco.asa copied to clipboard

Add PyProject.toml for Black Configuration

Open jvanderaa opened this issue 4 years ago • 2 comments

SUMMARY

Running black executable should format python as expected.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

black

ANSIBLE VERSION
Python, not Ansible issue
CONFIGURATION

OS / ENVIRONMENT
STEPS TO REPRODUCE
  1. Run black . which reformats the documents
  2. Submit PR
  3. Tox fails due to line length differing from 88 characters that defaults in black, tox has manual configuration of 79 char length
EXPECTED RESULTS

black . would reformat all Python files as expected

ACTUAL RESULTS

Reformat works, tox linter fails in Zuul

/cisco.asa/plugins/modules/asa_og.py
All done! 💥 💔 💥
1 file would be reformatted, 66 files would be left unchanged.

jvanderaa avatar Jun 28 '20 02:06 jvanderaa