mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-01 22:02:45 +01:00
One implication here is that both proposals/README.md and the website should use basically the same format for their proposal lists. Another subtle change is that the website sidebar was previously sorted by *filename*, and is now sorted by *title*, which seems better because it's something that readers can see. Enumerating why files change: - gen_sidebar.py is the centerpiece, with a couple helpful functions for re-use elsewhere - Delete the old sidebar html includes - Modify the Makefile to handle gen_sidebar.py reasonably well (let's be honest... I'm not great at Makefiles) - Move proposal listing out to its own file (proposals.py) for re-use - Add a few PYTHONPATH things + `__init__.py` files to get modules importing correctly (may be a better way at this, I've hit a wall though).
11 lines
418 B
INI
11 lines
418 B
INI
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
# Exceptions. See /LICENSE for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
[flake8]
|
|
max-line-length = 80
|
|
exclude = website/jekyll/build
|
|
# E402: Allow the pythonpath modifications before repo-local imports.
|
|
# W503: flake8 v3.8.4 is inconsistent with black v20.8b1 (pre-commit run -a).
|
|
ignore = E402,W503
|