Python Bytes

#363 DNS Again? It's Always DNS.

Dec 5, 2023
Topics covered: Fixit 2: Meta's auto-fixing linter, FastUI for building web UIs with Python, conversation on mail list/newsletter, creating CLIs from type hints, interesting comments on Fixit, new Python library fast UI for web UIs.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Meta's Fixit2 Linter Innovation

  • Meta's new linter fixit2 is designed for their massive monorepo and addresses hierarchical config needs.
  • It uses concrete syntax trees (CST) for better automated fixing compared to tools like black or flake8.
ADVICE

Hierarchical Config for Mono Repos

  • Use hierarchical configurations for multi-team monorepos to apply different linting or formatting rules.
  • Automate running formatters like 'ruff' per local configs to manage large codebases efficiently.
INSIGHT

FastUI's Declarative Python UI

  • FastUI uses a declarative Python syntax mirroring the DOM structure for defining web UI.
  • This approach makes UI code visually aligned and easier to understand, similar to Flutter's widget tree.
Get the Snipd Podcast app to discover more snips from this episode
Get the app