Comments (4)
Hi @FriedrichFroebel. The proper version of Flake8 for use with this repository is listed in the pyproject.toml file.
As for this bit…
This is related to flake8 6.0.0 dropping the
--diff
option
Speaking of dropping, I think it's time to drop Flake8. I'm tired of these shenanigans and the repeatedly rude manner in which Flake8 maintainers conduct themselves. (I'm going to refrain from posting relevant links here, as I have neither the time nor the interest in getting mired in pointless Internet wars.)
So, Friedrich, I'm sorry for hijacking your issue, but I have changed the intended resolution of this issue accordingly. I have already done an experiment in a plugin repo in which I replaced Flake8 (and isort) with Ruff, and it seems to working very well so far: pelican-plugins/touch@f93876d
I intend to make a similar transition here in this repository when I can find the time.
from pelican.
Thanks for the explanations. I had missed the versions inside the pyproject.toml
file, as I assumed that the tasks.py
file would install the required stuff (which proved to be wrong). The CONTRIBUTING guide was of no big help here either for now.
from pelican.
This resulted in
flake8
not being installed first (not installed byinvoke install
)…
There is no invoke install
task. If you tried that, Invoke should have rightfully responded with: No idea what 'install' is!
I assumed that the
tasks.py
file would install the required stuff (which proved to be wrong).
For me, it does indeed install the required stuff, including all needed linter tools, as long as the proper invocation is used:
invoke setup
The CONTRIBUTING guide was of no big help here either for now.
All of the required steps should be meticulously described in the Setting Up the Development Environment section of the documentation, including the above-mentioned invoke setup
step.
from pelican.
Thanks for the hint. I actually assumed that https://github.com/getpelican/pelican/blob/master/CONTRIBUTING.rst would be the official contribution guide, as this is what GitHub automatically points to as well. Nevertheless, I managed to get it working somehow, but yes, good documentation is always appreciated.
from pelican.
Related Issues (20)
- A dead link on PyPI for the contributions and feedback HOT 3
- Overwrite protection for static files generator HOT 1
- Process markdown images with relative url like they have {static} HOT 3
- links point incorrectly HOT 2
- New signals for configure_settings() HOT 5
- Q: Get current page url? HOT 2
- Conflict between TEMPLATE_PAGES and STATIC_PATHS HOT 2
- More flexible page content testing for unit tests HOT 3
- Custom generator with pagination
- Document basic plugin testing HOT 4
- About documentation translation HOT 6
- Improve setup script with additional user prompts in gathering the timezone during pelican creation HOT 4
- Pelican Themes Website not active due to Heroku server HOT 1
- Why does the order of the head attributes change in the generated new page? HOT 6
- Plugins page should be clearer about actual plugin-installation procedure HOT 5
- Please add a dark/black theme/template to the default installation HOT 5
- PATH Setting doesn't accepted but files not found HOT 2
- SSL certificate expired for getpelican.com HOT 1
- Parse categories field when there is a comma separating several words HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pelican.