Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickBaus committed Sep 9, 2024
1 parent 06d5b06 commit abd4404
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ print("Wavelength channel 2: ", wave_2)

# Installation instructions
## Linux
```
```bash
python3 -m venv env # Create a virtual environment for the build tools
source env/bin/activate
pip install -r requirements.txt
Expand All @@ -39,7 +39,7 @@ pre-commit install
To configure the host use a *.env*-file. Within it, a wavemeter is represented by a list of the version of the wavemeter,
the IP-address or interface of the host and a port of the host. You can also use a *.bat*-file to automate the host.

An example for both is shown in the example dictionary.
An example for both is shown in the example dictionary.

## Versioning

Expand Down
1 change: 1 addition & 0 deletions async_event_bus.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
A lightweight event bus for the asyncio framework that relies on asynchronous
generators to deliver messages.
"""

from __future__ import annotations

import asyncio
Expand Down
2 changes: 1 addition & 1 deletion examples/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ APPLICATION_LOG_LEVEL=INFO
# WAVEMETERS is a list of wavemeters. A wavemeter is a list consisting of the version,
# the ip-address or interface of the host and a port of the host corresponding
# to the actual wavemeter.
WAVEMETERS=[[4734, "192.168.1.40", 5555], [511, Null, 5556]]
WAVEMETERS=[[4734, "192.168.1.40", 5555], [511, Null, 5556]]
2 changes: 1 addition & 1 deletion examples/start_scpi_host.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:: Call the full path of your created venv and activate it: Users needs to be changed for your purpose.
CALL C:\Users\scpi_host\Scripts\activate.bat
:: Call the full path of the server.py file and execute it with python: Users needs to be changed for your purpose.
python C:\Users\wmControl\server.py
python C:\Users\wmControl\server.py
1 change: 1 addition & 0 deletions wmControl/wavemeter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Contains the related class for wavemeter control.
"""

from __future__ import annotations

import asyncio
Expand Down

0 comments on commit abd4404

Please sign in to comment.